How To Install chkconfig.x86_64 on Amazon Linux 2

In this tutorial we learn how to install chkconfig.x86_64 in Amazon Linux 2. chkconfig.x86_64 is A system tool for maintaining the /etc/rc*.d hierarchy

Introduction

In this tutorial we learn how to install chkconfig.x86_64 on Amazon Linux 2.

What is chkconfig.x86_64

Chkconfig is a basic system utility. It updates and queries runlevel information for system services. Chkconfig manipulates the numerous symbolic links in /etc/rc.d, to relieve system administrators of some of the drudgery of manually editing the symbolic links.

We can use yum to install chkconfig.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install chkconfig.x86_64.

Install chkconfig.x86_64 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install chkconfig.x86_64 using yum by running the following command:

sudo yum -y install chkconfig.x86_64

How To Uninstall chkconfig.x86_64 on Amazon Linux 2

To uninstall only the chkconfig.x86_64 package we can use the following command:

sudo yum remove chkconfig.x86_64

chkconfig.x86_64 Package Contents on Amazon Linux 2

/etc/alternatives
/etc/chkconfig.d
/etc/init.d
/etc/rc.d
/etc/rc.d/init.d
/etc/rc.d/rc0.d
/etc/rc.d/rc1.d
/etc/rc.d/rc2.d
/etc/rc.d/rc3.d
/etc/rc.d/rc4.d
/etc/rc.d/rc5.d
/etc/rc.d/rc6.d
/etc/rc0.d
/etc/rc1.d
/etc/rc2.d
/etc/rc3.d
/etc/rc4.d
/etc/rc5.d
/etc/rc6.d
/sbin/chkconfig
/usr/lib/systemd/systemd-sysv-install
/usr/sbin/alternatives
/usr/sbin/update-alternatives
/usr/share/licenses/chkconfig-1.7.4
/usr/share/licenses/chkconfig-1.7.4/COPYING
/usr/share/locale/ar/LC_MESSAGES/chkconfig.mo
/usr/share/locale/as/LC_MESSAGES/chkconfig.mo
/usr/share/locale/bal/LC_MESSAGES/chkconfig.mo
/usr/share/locale/be/LC_MESSAGES/chkconfig.mo
/usr/share/locale/bg/LC_MESSAGES/chkconfig.mo
/usr/share/locale/bn/LC_MESSAGES/chkconfig.mo
/usr/share/locale/bn_IN/LC_MESSAGES/chkconfig.mo
/usr/share/locale/bs/LC_MESSAGES/chkconfig.mo
/usr/share/locale/ca/LC_MESSAGES/chkconfig.mo
/usr/share/locale/cs/LC_MESSAGES/chkconfig.mo
/usr/share/locale/cy/LC_MESSAGES/chkconfig.mo
/usr/share/locale/da/LC_MESSAGES/chkconfig.mo
/usr/share/locale/de/LC_MESSAGES/chkconfig.mo
/usr/share/locale/el/LC_MESSAGES/chkconfig.mo
/usr/share/locale/en_GB/LC_MESSAGES/chkconfig.mo
/usr/share/locale/es/LC_MESSAGES/chkconfig.mo
/usr/share/locale/et/LC_MESSAGES/chkconfig.mo
/usr/share/locale/eu/LC_MESSAGES/chkconfig.mo
/usr/share/locale/fa/LC_MESSAGES/chkconfig.mo
/usr/share/locale/fi/LC_MESSAGES/chkconfig.mo
/usr/share/locale/fr/LC_MESSAGES/chkconfig.mo
/usr/share/locale/gl/LC_MESSAGES/chkconfig.mo
/usr/share/locale/gu/LC_MESSAGES/chkconfig.mo
/usr/share/locale/he/LC_MESSAGES/chkconfig.mo
/usr/share/locale/hi/LC_MESSAGES/chkconfig.mo
/usr/share/locale/hr/LC_MESSAGES/chkconfig.mo
/usr/share/locale/hu/LC_MESSAGES/chkconfig.mo
/usr/share/locale/hy/LC_MESSAGES/chkconfig.mo
/usr/share/locale/ia/LC_MESSAGES/chkconfig.mo
/usr/share/locale/id/LC_MESSAGES/chkconfig.mo
/usr/share/locale/is/LC_MESSAGES/chkconfig.mo
/usr/share/locale/it/LC_MESSAGES/chkconfig.mo
/usr/share/locale/ja/LC_MESSAGES/chkconfig.mo
/usr/share/locale/ka/LC_MESSAGES/chkconfig.mo
/usr/share/locale/km/LC_MESSAGES/chkconfig.mo
/usr/share/locale/kn/LC_MESSAGES/chkconfig.mo
/usr/share/locale/ko/LC_MESSAGES/chkconfig.mo
/usr/share/locale/ku/LC_MESSAGES/chkconfig.mo
/usr/share/locale/lo/LC_MESSAGES/chkconfig.mo
/usr/share/locale/lv/LC_MESSAGES/chkconfig.mo
/usr/share/locale/mai/LC_MESSAGES/chkconfig.mo
/usr/share/locale/mk/LC_MESSAGES/chkconfig.mo
/usr/share/locale/ml/LC_MESSAGES/chkconfig.mo
/usr/share/locale/mr/LC_MESSAGES/chkconfig.mo
/usr/share/locale/ms/LC_MESSAGES/chkconfig.mo
/usr/share/locale/my/LC_MESSAGES/chkconfig.mo
/usr/share/locale/nb/LC_MESSAGES/chkconfig.mo
/usr/share/locale/nds/LC_MESSAGES/chkconfig.mo
/usr/share/locale/nl/LC_MESSAGES/chkconfig.mo
/usr/share/locale/nn/LC_MESSAGES/chkconfig.mo
/usr/share/locale/or/LC_MESSAGES/chkconfig.mo
/usr/share/locale/pa/LC_MESSAGES/chkconfig.mo
/usr/share/locale/pl/LC_MESSAGES/chkconfig.mo
/usr/share/locale/pt/LC_MESSAGES/chkconfig.mo
/usr/share/locale/pt_BR/LC_MESSAGES/chkconfig.mo
/usr/share/locale/ro/LC_MESSAGES/chkconfig.mo
/usr/share/locale/ru/LC_MESSAGES/chkconfig.mo
/usr/share/locale/si/LC_MESSAGES/chkconfig.mo
/usr/share/locale/sk/LC_MESSAGES/chkconfig.mo
/usr/share/locale/sl/LC_MESSAGES/chkconfig.mo
/usr/share/locale/sq/LC_MESSAGES/chkconfig.mo
/usr/share/locale/sr/LC_MESSAGES/chkconfig.mo
/usr/share/locale/sr@latin/LC_MESSAGES/chkconfig.mo
/usr/share/locale/sv/LC_MESSAGES/chkconfig.mo
/usr/share/locale/ta/LC_MESSAGES/chkconfig.mo
/usr/share/locale/te/LC_MESSAGES/chkconfig.mo
/usr/share/locale/tg/LC_MESSAGES/chkconfig.mo
/usr/share/locale/th/LC_MESSAGES/chkconfig.mo
/usr/share/locale/tr/LC_MESSAGES/chkconfig.mo
/usr/share/locale/uk/LC_MESSAGES/chkconfig.mo
/usr/share/locale/ur/LC_MESSAGES/chkconfig.mo
/usr/share/locale/vi/LC_MESSAGES/chkconfig.mo
/usr/share/locale/zh_CN/LC_MESSAGES/chkconfig.mo
/usr/share/locale/zh_TW/LC_MESSAGES/chkconfig.mo
/usr/share/man/man8/alternatives.8.gz
/usr/share/man/man8/chkconfig.8.gz
/usr/share/man/man8/update-alternatives.8.gz
/var/lib/alternatives

References

Summary

In this tutorial we learn how to install chkconfig.x86_64 on Amazon Linux 2 using yum.