How To Install rhn-client-tools on CentOS 8
Introduction
In this tutorial we learn how to install rhn-client-tools
on CentOS 8.
What is rhn-client-tools
Red Hat Satellite Client Tools provides programs and libraries to allow your system to receive software updates from Red Hat Satellite or Spacewalk.
We can use yum
or dnf
to install rhn-client-tools
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install rhn-client-tools.
Install rhn-client-tools 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 rhn-client-tools
using dnf
by running the following command:
sudo dnf -y install rhn-client-tools
Install rhn-client-tools 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 rhn-client-tools
using yum
by running the following command:
sudo yum -y install rhn-client-tools
How To Uninstall rhn-client-tools on CentOS 8
To uninstall only the rhn-client-tools
package we can use the following command:
sudo dnf remove rhn-client-tools
rhn-client-tools Package Contents on CentOS 8
/etc/logrotate.d/up2date
/etc/sysconfig/rhn
/etc/sysconfig/rhn/allowed-actions
/etc/sysconfig/rhn/allowed-actions/configfiles
/etc/sysconfig/rhn/allowed-actions/script
/etc/sysconfig/rhn/clientCaps.d
/etc/sysconfig/rhn/up2date
/usr/sbin/rhn-profile-sync
/usr/share/doc/rhn-client-tools
/usr/share/doc/rhn-client-tools/AUTHORS
/usr/share/doc/rhn-client-tools/LICENSE
/usr/share/doc/rhn-client-tools/mirrors.txt
/usr/share/locale/aln/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/ar/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/as/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/ast/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/bg/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/bn/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/bn_BD/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/bn_IN/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/bs/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/ca/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/cs/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/cy/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/da/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/de/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/el/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/en_GB/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/es/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/et/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/eu/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/fa/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/fa_IR/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/fi/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/fr/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/gl/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/gu/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/he/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/hi/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/hr/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/hu/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/hy/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/id/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/is/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/it/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/ja/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/ja_JP/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/ka/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/kn/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/ko/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/ku/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/lo/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/lt/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/lv/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/mk/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/ml/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/mr/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/ms/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/my/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/nb/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/nl/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/nn/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/no/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/or/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/pa/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/pl/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/pt/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/pt_BR/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/ro/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/ru/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/si/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/sk/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/sl/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/sq/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/sr/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/sr@Latn/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/sv/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/ta/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/te/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/tg/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/tr/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/uk/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/ur/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/vi/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/zh_CN.GB2312/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/zh_CN/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/zh_TW.Big5/LC_MESSAGES/rhn-client-tools.mo
/usr/share/locale/zh_TW/LC_MESSAGES/rhn-client-tools.mo
/usr/share/man/man5/up2date.5.gz
/usr/share/man/man8/rhn-profile-sync.8.gz
/usr/share/rhn
/usr/share/rhn/RHNS-CA-CERT
/var/spool/up2date
/var/spool/up2date/loginAuth.pkl
References
Summary
In this tutorial we learn how to install rhn-client-tools
on CentOS 8 using yum and dnf.