How To Install libcgroup-tools on Rocky Linux 8
Introduction
In this tutorial we learn how to install libcgroup-tools
on Rocky Linux 8.
What is libcgroup-tools
This package contains command-line programs, services and a daemon for manipulating control groups using the libcgroup library.
We can use yum
or dnf
to install libcgroup-tools
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libcgroup-tools.
Install libcgroup-tools 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 libcgroup-tools
using dnf
by running the following command:
sudo dnf -y install libcgroup-tools
Install libcgroup-tools 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 libcgroup-tools
using yum
by running the following command:
sudo yum -y install libcgroup-tools
How To Uninstall libcgroup-tools on Rocky Linux 8
To uninstall only the libcgroup-tools
package we can use the following command:
sudo dnf remove libcgroup-tools
libcgroup-tools Package Contents on Rocky Linux 8
/etc/cgconfig.conf
/etc/cgsnapshot_blacklist.conf
/usr/bin/cgclassify
/usr/bin/cgcreate
/usr/bin/cgdelete
/usr/bin/cgexec
/usr/bin/cgget
/usr/bin/cgset
/usr/bin/cgsnapshot
/usr/bin/lscgroup
/usr/bin/lssubsys
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/b50e151aaa3c724515799df914a9a3562e40b2
/usr/lib/.build-id/17
/usr/lib/.build-id/17/0daac6e85f914f7c0d8a09f990bfc3230fe172
/usr/lib/.build-id/18
/usr/lib/.build-id/18/d2e03601f78bb92cda2117b9379458dfa380ea
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/580abcf36df7c8dd09f6f7cc14bb734fa20b90
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/d6198cf6cf823773be4cb274e6eecfecef2eac
/usr/lib/.build-id/47
/usr/lib/.build-id/47/9c73b32b55af9a5ad8933dc7da8db372522123
/usr/lib/.build-id/59
/usr/lib/.build-id/59/ebf78f31281d6145cc5737fa3bbc8cd0f8841c
/usr/lib/.build-id/99
/usr/lib/.build-id/99/a7160336a9895395b13408ef29a6bc572b1ea2
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/d1219aacf2c9c7bdfff64ebc2d7e449b5190c9
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/766cf4bdb12665c7cb5a29a141fd92cff3febd
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/e01a4ecd4a5a85a82cc9465d0af58e34d41cfa
/usr/lib/systemd/system/cgconfig.service
/usr/sbin/cgclear
/usr/sbin/cgconfigparser
/usr/share/doc/libcgroup-tools
/usr/share/doc/libcgroup-tools/README
/usr/share/doc/libcgroup-tools/README_systemd
/usr/share/licenses/libcgroup-tools
/usr/share/licenses/libcgroup-tools/COPYING
/usr/share/man/man1/cgclassify.1.gz
/usr/share/man/man1/cgclear.1.gz
/usr/share/man/man1/cgcreate.1.gz
/usr/share/man/man1/cgdelete.1.gz
/usr/share/man/man1/cgexec.1.gz
/usr/share/man/man1/cgget.1.gz
/usr/share/man/man1/cgset.1.gz
/usr/share/man/man1/cgsnapshot.1.gz
/usr/share/man/man1/lscgroup.1.gz
/usr/share/man/man1/lssubsys.1.gz
/usr/share/man/man5/cgconfig.conf.5.gz
/usr/share/man/man8/cgconfigparser.8.gz
References
Summary
In this tutorial we learn how to install libcgroup-tools
on Rocky Linux 8 using yum and dnf.