How To Install rpmrebuild on Fedora 34

rpmrebuild is A tool to build rpm file from rpm database

Introduction

In this tutorial we learn how to install rpmrebuild on Fedora 34.

What is rpmrebuild

A tool to build an RPM file from a package that has already been installed.

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

Install rpmrebuild on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install rpmrebuild

Install rpmrebuild on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install rpmrebuild

How To Uninstall rpmrebuild on Fedora 34

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

sudo dnf remove rpmrebuild

rpmrebuild Package Contents on Fedora 34

/usr/bin/rpmrebuild
/usr/lib/rpmrebuild
/usr/lib/rpmrebuild/Version
/usr/lib/rpmrebuild/locale
/usr/lib/rpmrebuild/locale/en
/usr/lib/rpmrebuild/locale/en/rpmrebuild.lang
/usr/lib/rpmrebuild/locale/fr_FR
/usr/lib/rpmrebuild/locale/fr_FR.UTF-8
/usr/lib/rpmrebuild/locale/fr_FR.UTF-8/rpmrebuild.lang
/usr/lib/rpmrebuild/locale/fr_FR/rpmrebuild.lang
/usr/lib/rpmrebuild/optional_tags.cfg
/usr/lib/rpmrebuild/plugins
/usr/lib/rpmrebuild/plugins/compat_digest.plug
/usr/lib/rpmrebuild/plugins/compat_digest.sh
/usr/lib/rpmrebuild/plugins/demo.plug
/usr/lib/rpmrebuild/plugins/demo.sh
/usr/lib/rpmrebuild/plugins/demofiles.plug
/usr/lib/rpmrebuild/plugins/demofiles.sh
/usr/lib/rpmrebuild/plugins/file2pacDep.plug
/usr/lib/rpmrebuild/plugins/file2pacDep.sh
/usr/lib/rpmrebuild/plugins/nodoc.plug
/usr/lib/rpmrebuild/plugins/nodoc.sh
/usr/lib/rpmrebuild/plugins/set_tag.plug
/usr/lib/rpmrebuild/plugins/set_tag.sh
/usr/lib/rpmrebuild/plugins/un_prelink.plug
/usr/lib/rpmrebuild/plugins/un_prelink.sh
/usr/lib/rpmrebuild/plugins/uniq.plug
/usr/lib/rpmrebuild/plugins/uniq.sh
/usr/lib/rpmrebuild/plugins/unset_tag.plug
/usr/lib/rpmrebuild/plugins/unset_tag.sh
/usr/lib/rpmrebuild/processing_func.src
/usr/lib/rpmrebuild/rpmrebuild.sh
/usr/lib/rpmrebuild/rpmrebuild_buildroot.sh
/usr/lib/rpmrebuild/rpmrebuild_extract_tags.sh
/usr/lib/rpmrebuild/rpmrebuild_files.sh
/usr/lib/rpmrebuild/rpmrebuild_ghost.sh
/usr/lib/rpmrebuild/rpmrebuild_lib.src
/usr/lib/rpmrebuild/rpmrebuild_parser.src
/usr/lib/rpmrebuild/rpmrebuild_rpmqf.src
/usr/lib/rpmrebuild/spec_func.src
/usr/share/doc/rpmrebuild
/usr/share/doc/rpmrebuild/AUTHORS
/usr/share/doc/rpmrebuild/COPYING
/usr/share/doc/rpmrebuild/COPYRIGHT
/usr/share/doc/rpmrebuild/Changelog
/usr/share/doc/rpmrebuild/LISEZ.MOI
/usr/share/doc/rpmrebuild/News
/usr/share/doc/rpmrebuild/README
/usr/share/doc/rpmrebuild/Todo
/usr/share/doc/rpmrebuild/rpmrebuild.lsm
/usr/share/man/fr_FR.UTF-8/man1/compat_digest.plug.1rrp.gz
/usr/share/man/fr_FR.UTF-8/man1/demo.plug.1rrp.gz
/usr/share/man/fr_FR.UTF-8/man1/demofiles.plug.1rrp.gz
/usr/share/man/fr_FR.UTF-8/man1/file2pacDep.plug.1rrp.gz
/usr/share/man/fr_FR.UTF-8/man1/nodoc.plug.1rrp.gz
/usr/share/man/fr_FR.UTF-8/man1/rpmrebuild.1.gz
/usr/share/man/fr_FR.UTF-8/man1/rpmrebuild_plugins.1.gz
/usr/share/man/fr_FR.UTF-8/man1/set_tag.plug.1rrp.gz
/usr/share/man/fr_FR.UTF-8/man1/un_prelink.plug.1rrp.gz
/usr/share/man/fr_FR.UTF-8/man1/uniq.plug.1rrp.gz
/usr/share/man/fr_FR.UTF-8/man1/unset_tag.plug.1rrp.gz
/usr/share/man/fr_FR/man1/compat_digest.plug.1rrp.gz
/usr/share/man/fr_FR/man1/demo.plug.1rrp.gz
/usr/share/man/fr_FR/man1/demofiles.plug.1rrp.gz
/usr/share/man/fr_FR/man1/file2pacDep.plug.1rrp.gz
/usr/share/man/fr_FR/man1/nodoc.plug.1rrp.gz
/usr/share/man/fr_FR/man1/rpmrebuild.1.gz
/usr/share/man/fr_FR/man1/rpmrebuild_plugins.1.gz
/usr/share/man/fr_FR/man1/set_tag.plug.1rrp.gz
/usr/share/man/fr_FR/man1/un_prelink.plug.1rrp.gz
/usr/share/man/fr_FR/man1/uniq.plug.1rrp.gz
/usr/share/man/fr_FR/man1/unset_tag.plug.1rrp.gz
/usr/share/man/man1/compat_digest.plug.1rrp.gz
/usr/share/man/man1/demo.plug.1rrp.gz
/usr/share/man/man1/demofiles.plug.1rrp.gz
/usr/share/man/man1/file2pacDep.plug.1rrp.gz
/usr/share/man/man1/nodoc.plug.1rrp.gz
/usr/share/man/man1/rpmrebuild.1.gz
/usr/share/man/man1/rpmrebuild_plugins.1.gz
/usr/share/man/man1/set_tag.plug.1rrp.gz
/usr/share/man/man1/un_prelink.plug.1rrp.gz
/usr/share/man/man1/uniq.plug.1rrp.gz
/usr/share/man/man1/unset_tag.plug.1rrp.gz

References

Summary

In this tutorial we learn how to install rpmrebuild on Fedora 34 using yum and dnf.