How To Install rpm-build on Fedora 36
Introduction
In this tutorial we learn how to install rpm-build
on Fedora 36.
What is rpm-build
The rpm-build package contains the scripts and executable programs that are used to build packages using the RPM Package Manager.
We can use yum
or dnf
to install rpm-build
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rpm-build.
Install rpm-build 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 rpm-build
using dnf
by running the following command:
sudo dnf -y install rpm-build
Install rpm-build 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 rpm-build
using yum
by running the following command:
sudo yum -y install rpm-build
How To Uninstall rpm-build on Fedora 36
To uninstall only the rpm-build
package we can use the following command:
sudo dnf remove rpm-build
rpm-build Package Contents on Fedora 36
/usr/bin/gendiff
/usr/bin/rpmbuild
/usr/bin/rpmspec
/usr/lib/.build-id
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/a0fe055dfb601225b70dab16934d8dd00bbfa8
/usr/lib/.build-id/43
/usr/lib/.build-id/43/e35a1c2c3c51be18475d9b85e4795a9a0ceaa5
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/3e340b8610bc6b2e552a13dbd1e3a44e7c481f
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/47014d3c0ec850adc1f6c929dd21ab12fd76ee
/usr/lib/rpm/brp-compress
/usr/lib/rpm/brp-elfperms
/usr/lib/rpm/brp-remove-la-files
/usr/lib/rpm/brp-strip
/usr/lib/rpm/brp-strip-comment-note
/usr/lib/rpm/brp-strip-static-archive
/usr/lib/rpm/check-buildroot
/usr/lib/rpm/check-files
/usr/lib/rpm/check-prereqs
/usr/lib/rpm/check-rpaths
/usr/lib/rpm/check-rpaths-worker
/usr/lib/rpm/elfdeps
/usr/lib/rpm/fileattrs/debuginfo.attr
/usr/lib/rpm/fileattrs/desktop.attr
/usr/lib/rpm/fileattrs/elf.attr
/usr/lib/rpm/fileattrs/font.attr
/usr/lib/rpm/fileattrs/metainfo.attr
/usr/lib/rpm/fileattrs/ocaml.attr
/usr/lib/rpm/fileattrs/pkgconfig.attr
/usr/lib/rpm/fileattrs/script.attr
/usr/lib/rpm/find-debuginfo.sh
/usr/lib/rpm/find-lang.sh
/usr/lib/rpm/find-provides
/usr/lib/rpm/find-requires
/usr/lib/rpm/fontconfig.prov
/usr/lib/rpm/mkinstalldirs
/usr/lib/rpm/ocamldeps.sh
/usr/lib/rpm/pkgconfigdeps.sh
/usr/lib/rpm/rpmdeps
/usr/lib/rpm/script.req
/usr/share/man/man1/gendiff.1.gz
/usr/share/man/man8/rpmbuild.8.gz
/usr/share/man/man8/rpmdeps.8.gz
/usr/share/man/man8/rpmspec.8.gz
References
Summary
In this tutorial we learn how to install rpm-build
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).