How To Install rhncfg on Rocky Linux 8
In this tutorial we learn how to install rhncfg on Rocky Linux 8. rhncfg is Spacewalk Configuration Client Libraries
Introduction
In this tutorial we learn how to install rhncfg
on Rocky Linux 8.
What is rhncfg
The base libraries and functions needed by all rhncfg-* packages.
We can use yum
or dnf
to install rhncfg
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install rhncfg.
Install rhncfg on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install rhncfg
using dnf
by running the following command:
sudo dnf -y install rhncfg
Install rhncfg on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install rhncfg
using yum
by running the following command:
sudo yum -y install rhncfg
How To Uninstall rhncfg on Rocky Linux 8
To uninstall only the rhncfg
package we can use the following command:
sudo dnf remove rhncfg
rhncfg Package Contents on Rocky Linux 8
/usr/share/doc/rhncfg
/usr/share/doc/rhncfg/LICENSE
/var/lib/rhncfg
/var/lib/rhncfg/backups
/var/spool/rhn
References
Summary
In this tutorial we learn how to install rhncfg
on Rocky Linux 8 using yum and dnf.