How To Install koji on CentOS 8
Introduction
In this tutorial we learn how to install koji
on CentOS 8.
What is koji
Koji is a system for building and tracking RPMS. The base package contains shared libraries and the command-line interface.
We can use yum
or dnf
to install koji
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install koji.
Install koji on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install koji
using dnf
by running the following command:
sudo dnf -y install koji
Install koji on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install koji
using yum
by running the following command:
sudo yum -y install koji
How To Uninstall koji on CentOS 8
To uninstall only the koji
package we can use the following command:
sudo dnf remove koji
koji Package Contents on CentOS 8
/etc/koji.conf
/etc/koji.conf.d
/usr/bin/koji
/usr/share/doc/koji
/usr/share/doc/koji/Authors
/usr/share/doc/koji/COPYING
/usr/share/doc/koji/LGPL
/usr/share/doc/koji/docs
/usr/share/doc/koji/docs/Makefile
/usr/share/doc/koji/docs/schema-update-cgen.sql
/usr/share/doc/koji/docs/schema-update-cgen2.sql
/usr/share/doc/koji/docs/schema-update-dist-repos.sql
/usr/share/doc/koji/docs/schema-upgrade-1.10-1.11.sql
/usr/share/doc/koji/docs/schema-upgrade-1.11-1.12.sql
/usr/share/doc/koji/docs/schema-upgrade-1.12-1.13.sql
/usr/share/doc/koji/docs/schema-upgrade-1.13-1.14.sql
/usr/share/doc/koji/docs/schema-upgrade-1.14-1.15.sql
/usr/share/doc/koji/docs/schema-upgrade-1.15-1.16.sql
/usr/share/doc/koji/docs/schema-upgrade-1.16-1.17.sql
/usr/share/doc/koji/docs/schema-upgrade-1.17-1.18.sql
/usr/share/doc/koji/docs/schema-upgrade-1.18-1.19.sql
/usr/share/doc/koji/docs/schema-upgrade-1.19-1.20.sql
/usr/share/doc/koji/docs/schema-upgrade-1.2-1.3.sql
/usr/share/doc/koji/docs/schema-upgrade-1.20-1.21.sql
/usr/share/doc/koji/docs/schema-upgrade-1.21-1.22.sql
/usr/share/doc/koji/docs/schema-upgrade-1.22-1.23.sql
/usr/share/doc/koji/docs/schema-upgrade-1.23-1.24.sql
/usr/share/doc/koji/docs/schema-upgrade-1.24-1.25.sql
/usr/share/doc/koji/docs/schema-upgrade-1.3-1.4.sql
/usr/share/doc/koji/docs/schema-upgrade-1.4-1.5.sql
/usr/share/doc/koji/docs/schema-upgrade-1.6-1.7.sql
/usr/share/doc/koji/docs/schema-upgrade-1.7-1.8.sql
/usr/share/doc/koji/docs/schema-upgrade-1.8-1.9.sql
/usr/share/doc/koji/docs/schema-upgrade-1.9-1.10.sql
/usr/share/doc/koji/docs/schema.sql
/usr/share/doc/koji/docs/source
/usr/share/doc/koji/docs/source/CVEs
/usr/share/doc/koji/docs/source/CVEs/CVE-2017-1002153.rst
/usr/share/doc/koji/docs/source/CVEs/CVE-2018-1002150-FAQ.rst
/usr/share/doc/koji/docs/source/CVEs/CVE-2018-1002150.rst
/usr/share/doc/koji/docs/source/CVEs/CVE-2018-1002161-FAQ.rst
/usr/share/doc/koji/docs/source/CVEs/CVE-2018-1002161.rst
/usr/share/doc/koji/docs/source/CVEs/CVE-2019-17109.rst
/usr/share/doc/koji/docs/source/CVEs/CVE-2020-15856.rst
/usr/share/doc/koji/docs/source/CVEs/CVEs.rst
/usr/share/doc/koji/docs/source/HOWTO.rst
/usr/share/doc/koji/docs/source/access_controls.rst
/usr/share/doc/koji/docs/source/conf.py
/usr/share/doc/koji/docs/source/configuring_jenkins.rst
/usr/share/doc/koji/docs/source/content_generator_metadata.rst
/usr/share/doc/koji/docs/source/content_generators.rst
/usr/share/doc/koji/docs/source/database_howto.rst
/usr/share/doc/koji/docs/source/defining_hub_policies.rst
/usr/share/doc/koji/docs/source/exporting_repositories.rst
/usr/share/doc/koji/docs/source/external_repo_server_bootstrap.rst
/usr/share/doc/koji/docs/source/image_build.rst
/usr/share/doc/koji/docs/source/index.rst
/usr/share/doc/koji/docs/source/kerberos_gssapi_debug.rst
/usr/share/doc/koji/docs/source/koji_structure1.svg
/usr/share/doc/koji/docs/source/kojid_conf.rst
/usr/share/doc/koji/docs/source/migrations
/usr/share/doc/koji/docs/source/migrations/migrating_to_1.10.rst
/usr/share/doc/koji/docs/source/migrations/migrating_to_1.11.rst
/usr/share/doc/koji/docs/source/migrations/migrating_to_1.12.rst
/usr/share/doc/koji/docs/source/migrations/migrating_to_1.13.rst
/usr/share/doc/koji/docs/source/migrations/migrating_to_1.14.rst
/usr/share/doc/koji/docs/source/migrations/migrating_to_1.15.rst
/usr/share/doc/koji/docs/source/migrations/migrating_to_1.16.rst
/usr/share/doc/koji/docs/source/migrations/migrating_to_1.17.rst
/usr/share/doc/koji/docs/source/migrations/migrating_to_1.18.rst
/usr/share/doc/koji/docs/source/migrations/migrating_to_1.19.rst
/usr/share/doc/koji/docs/source/migrations/migrating_to_1.20.rst
/usr/share/doc/koji/docs/source/migrations/migrating_to_1.21.rst
/usr/share/doc/koji/docs/source/migrations/migrating_to_1.22.rst
/usr/share/doc/koji/docs/source/migrations/migrating_to_1.23.rst
/usr/share/doc/koji/docs/source/migrations/migrating_to_1.24.rst
/usr/share/doc/koji/docs/source/migrations/migrating_to_1.25.rst
/usr/share/doc/koji/docs/source/migrations/migrating_to_1.7.rst
/usr/share/doc/koji/docs/source/migrations/migrating_to_1.8.rst
/usr/share/doc/koji/docs/source/migrations/migrating_to_1.9.rst
/usr/share/doc/koji/docs/source/migrations/migrations.rst
/usr/share/doc/koji/docs/source/misc.rst
/usr/share/doc/koji/docs/source/permissions.rst
/usr/share/doc/koji/docs/source/plugins.rst
/usr/share/doc/koji/docs/source/profiles.rst
/usr/share/doc/koji/docs/source/release_notes
/usr/share/doc/koji/docs/source/release_notes/release_notes.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.13.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.14.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.15.1.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.15.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.16.1.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.16.2.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.16.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.17.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.18.1.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.18.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.19.1.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.19.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.20.1.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.20.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.21.1.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.21.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.22.1.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.22.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.23.1.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.23.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.24.1.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.24.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.25.1.rst
/usr/share/doc/koji/docs/source/release_notes/release_notes_1.25.rst
/usr/share/doc/koji/docs/source/runs_here.rst
/usr/share/doc/koji/docs/source/server_bootstrap.rst
/usr/share/doc/koji/docs/source/server_howto.rst
/usr/share/doc/koji/docs/source/setting_rpm_macros.rst
/usr/share/doc/koji/docs/source/supported_platforms.rst
/usr/share/doc/koji/docs/source/tag_inheritance.rst
/usr/share/doc/koji/docs/source/using_the_koji_build_system.rst
/usr/share/doc/koji/docs/source/utils.rst
/usr/share/doc/koji/docs/source/volumes.rst
/usr/share/doc/koji/docs/source/win_spec_example.rst
/usr/share/doc/koji/docs/source/winbuild.rst
/usr/share/doc/koji/docs/source/writing_a_plugin.rst
/usr/share/doc/koji/docs/source/writing_koji_code.rst
References
Summary
In this tutorial we learn how to install koji
on CentOS 8 using yum and dnf.