How To Install redhat-rpm-config on CentOS 8
Introduction
In this tutorial we learn how to install redhat-rpm-config
on CentOS 8.
What is redhat-rpm-config
Red Hat specific rpm configuration files.
We can use yum
or dnf
to install redhat-rpm-config
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install redhat-rpm-config.
Install redhat-rpm-config 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 redhat-rpm-config
using dnf
by running the following command:
sudo dnf -y install redhat-rpm-config
Install redhat-rpm-config 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 redhat-rpm-config
using yum
by running the following command:
sudo yum -y install redhat-rpm-config
How To Uninstall redhat-rpm-config on CentOS 8
To uninstall only the redhat-rpm-config
package we can use the following command:
sudo dnf remove redhat-rpm-config
redhat-rpm-config Package Contents on CentOS 8
/usr/lib/rpm/fileattrs/kabi.attr
/usr/lib/rpm/fileattrs/kmod.attr
/usr/lib/rpm/fileattrs/libsymlink.attr
/usr/lib/rpm/kabi.sh
/usr/lib/rpm/kmod.prov
/usr/lib/rpm/macros.d/macros.dwz
/usr/lib/rpm/macros.d/macros.fedora-misc
/usr/lib/rpm/macros.d/macros.fedora-misc-srpm
/usr/lib/rpm/macros.d/macros.forge
/usr/lib/rpm/macros.d/macros.kernel-srpm
/usr/lib/rpm/macros.d/macros.ldc-srpm
/usr/lib/rpm/macros.d/macros.ldconfig
/usr/lib/rpm/macros.d/macros.mono-srpm
/usr/lib/rpm/macros.d/macros.nodejs-srpm
/usr/lib/rpm/macros.d/macros.valgrind-srpm
/usr/lib/rpm/macros.d/macros.vpath
/usr/lib/rpm/redhat
/usr/lib/rpm/redhat/brp-ldconfig
/usr/lib/rpm/redhat/brp-mangle-shebangs
/usr/lib/rpm/redhat/config.guess
/usr/lib/rpm/redhat/config.sub
/usr/lib/rpm/redhat/dist.sh
/usr/lib/rpm/redhat/find-provides
/usr/lib/rpm/redhat/find-requires
/usr/lib/rpm/redhat/gpgverify
/usr/lib/rpm/redhat/macros
/usr/lib/rpm/redhat/redhat-annobin-cc1
/usr/lib/rpm/redhat/redhat-hardened-cc1
/usr/lib/rpm/redhat/redhat-hardened-ld
/usr/lib/rpm/redhat/rpmrc
/usr/share/doc/redhat-rpm-config
/usr/share/doc/redhat-rpm-config/buildflags.md
References
Summary
In this tutorial we learn how to install redhat-rpm-config
on CentOS 8 using yum and dnf.