How To Install rpkg on Fedora 36

In this tutorial we learn how to install rpkg in Fedora 36. rpkg is RPM packaging utility

Introduction

In this tutorial we learn how to install rpkg on Fedora 36.

What is rpkg

This is an RPM packaging utility that can work with both DistGit and standard Git repositories and handles packed directory content as well as unpacked one.

We can use yum or dnf to install rpkg on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rpkg.

Install rpkg on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install rpkg using dnf by running the following command:

sudo dnf -y install rpkg

Install rpkg on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install rpkg using yum by running the following command:

sudo yum -y install rpkg

How To Uninstall rpkg on Fedora 36

To uninstall only the rpkg package we can use the following command:

sudo dnf remove rpkg

rpkg Package Contents on Fedora 36

/etc/rpkg.conf
/usr/bin/rpkg
/usr/lib/python3.10/site-packages/rpkg_util-0.0.0-py3.10.egg-info
/usr/lib/python3.10/site-packages/rpkg_util-0.0.0-py3.10.egg-info/PKG-INFO
/usr/lib/python3.10/site-packages/rpkg_util-0.0.0-py3.10.egg-info/SOURCES.txt
/usr/lib/python3.10/site-packages/rpkg_util-0.0.0-py3.10.egg-info/dependency_links.txt
/usr/lib/python3.10/site-packages/rpkg_util-0.0.0-py3.10.egg-info/top_level.txt
/usr/lib/python3.10/site-packages/rpkglib
/usr/lib/python3.10/site-packages/rpkglib/__init__.py
/usr/lib/python3.10/site-packages/rpkglib/__pycache__
/usr/lib/python3.10/site-packages/rpkglib/__pycache__/__init__.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/rpkglib/__pycache__/__init__.cpython-310.pyc
/usr/lib/python3.10/site-packages/rpkglib/__pycache__/errors.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/rpkglib/__pycache__/errors.cpython-310.pyc
/usr/lib/python3.10/site-packages/rpkglib/__pycache__/git_client.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/rpkglib/__pycache__/git_client.cpython-310.pyc
/usr/lib/python3.10/site-packages/rpkglib/__pycache__/lookaside_cache.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/rpkglib/__pycache__/lookaside_cache.cpython-310.pyc
/usr/lib/python3.10/site-packages/rpkglib/__pycache__/rpm_package.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/rpkglib/__pycache__/rpm_package.cpython-310.pyc
/usr/lib/python3.10/site-packages/rpkglib/__pycache__/utils.cpython-310.opt-1.pyc
/usr/lib/python3.10/site-packages/rpkglib/__pycache__/utils.cpython-310.pyc
/usr/lib/python3.10/site-packages/rpkglib/default.conf
/usr/lib/python3.10/site-packages/rpkglib/errors.py
/usr/lib/python3.10/site-packages/rpkglib/git_client.py
/usr/lib/python3.10/site-packages/rpkglib/lookaside_cache.py
/usr/lib/python3.10/site-packages/rpkglib/rpm_package.py
/usr/lib/python3.10/site-packages/rpkglib/utils.py
/usr/share/bash-completion/completions/rpkg.bash
/usr/share/licenses/rpkg
/usr/share/licenses/rpkg/LICENSE
/usr/share/man/man1/rpkg.1.gz

References

Summary

In this tutorial we learn how to install rpkg on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).