@hackage koji-install0.3

CLI tool for installing rpms directly from Fedora Koji

koji-install

A CLI tool to download and install rpms from a Koji build.

Koji is a package buildsystem used by Fedora, Centos, and some other projects.

Usage

By default it uses Fedora Koji.

$ koji-install podman

Will download the latest build for your Fedora version, and try to install it.

You can specify a different Koji hub service with --hub.

Selecting subpackages

By default only installed subpackages are downloaded and updated, but the following options change the behavior:

--all: install all subpackages

--ask: ask about each subpackage

--base-only: only install the base package

--exclude-devel: skip devel subpackages

Help

$ koji-install --help
Download and install latest package build from Koji tag.

Usage: koji-install [--version] [-n|--dry-run] [-D|--debug] [-H|--hub HUB]
                    [-P|--packages-url URL]
                    [(-l|--list) | (-a|--all) | (-A|--ask) | (-b|--base-only) |
                      (-D|--exclude-devel)] [-d|--disttag DISTTAG]
                    [(-R|--nvr) | (-V|--nv)] PACKAGE
  HUB = fedora, stream, rpmfusion, or URL

Available options:
  -h,--help                Show this help text
  --version                Show version
  -n,--dry-run             Don't actually download anything
  -D,--debug               More detailed output
  -H,--hub HUB             KojiHub shortname or url [default: fedora]
  -P,--packages-url URL    KojiFiles packages url [default: fedora]
  -l,--list                List builds
  -a,--all                 all subpackages
  -A,--ask                 ask for each subpackge
  -b,--base-only           only base package
  -D,--exclude-devel       Skip devel packages
  -d,--disttag DISTTAG     Use a different disttag [default: .fc35]
  -R,--nvr                 Give an N-V-R instead of package name
  -V,--nv                  Give an N-V instead of package name

Installation

cabal-rpm builddep && cabal install or stack install.