LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

koji-download-build

downloads built packages from the Koji build system

TLDR

Download all RPMs from a build
$ koji download-build [build_id|nvr]
copy
Download RPMs for specific architecture
$ koji download-build [build_id] --arch x86_64
copy
Download RPMs signed with specific key
$ koji download-build [build_id] --key [key_id]
copy
Download only the source RPM
$ koji download-build --arch src [nvr]
copy
Download a specific RPM
$ koji download-build --rpm [name-version-release.arch]
copy
Also download debuginfo RPMs
$ koji download-build --debuginfo [nvr]
copy
Download the latest build of a package from a tag
$ koji download-build --latestfrom [tag] [package]
copy
Download image archives instead of RPMs
$ koji download-build --type image [nvr]
copy
Display help
$ koji download-build --help
copy

SYNOPSIS

koji download-build [options] nvr|buildid_

DESCRIPTION

koji download-build downloads built packages from the Koji build system. You can specify a build by its ID or NVR (Name-Version-Release), or download a single RPM with --rpm. Files are saved to the current directory. Scratch builds have no build entry; use koji download-task for those.

PARAMETERS

nvr|build_id

Build identifier or NVR string (or an RPM NVRA with --rpm, or a package name with --latestfrom)
-a, --arch ARCH
Only download RPMs for the given architecture (e.g., x86_64, aarch64, noarch, src); may be repeated
--debuginfo
Also download -debuginfo RPMs
--rpm
Interpret the argument as an RPM and download only that file
--key KEY
Download RPMs signed with the given key
--fallback-unsigned
With --key: download unsigned RPMs if signed copies are not found
--type TYPE
Download archives of the given type instead of RPMs: maven, win, image, remote-sources
--latestfrom TAG
Download the latest build of the package from the given tag
--task-id
Interpret the ID as a task ID
--topurl URL
URL under which Koji files are accessible
--nofailarch
Do not fail if a package is not available for the requested architectures
--noprogress
Do not display the progress meter
-q, --quiet
Suppress output
-h, --help
Display help information

INSTALL

sudo dnf install koji
copy
brew install koji
copy
nix profile install nixpkgs#koji
copy

CAVEATS

Large builds with many subpackages may take significant time and bandwidth. Signed copies only exist if the build was signed with that key in Koji; otherwise use --fallback-unsigned.

SEE ALSO

koji(1), koji-build(1), dnf(8)

RESOURCES

Copied to clipboard
Kai