How To Install libcgroup-tools.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libcgroup-tools.x86_64 in Amazon Linux 2. libcgroup-tools.x86_64 is Command-line utility programs, services and daemons for libcgroup

Introduction

In this tutorial we learn how to install libcgroup-tools.x86_64 on Amazon Linux 2.

What is libcgroup-tools.x86_64

This package contains command-line programs, services and a daemon for manipulating control groups using the libcgroup library.

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

Install libcgroup-tools.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 libcgroup-tools.x86_64 using yum by running the following command:

sudo yum -y install libcgroup-tools.x86_64

How To Uninstall libcgroup-tools.x86_64 on Amazon Linux 2

To uninstall only the libcgroup-tools.x86_64 package we can use the following command:

sudo yum remove libcgroup-tools.x86_64

libcgroup-tools.x86_64 Package Contents on Amazon Linux 2

/etc/cgconfig.conf
/etc/cgconfig.d
/etc/cgrules.conf
/etc/cgsnapshot_blacklist.conf
/etc/sysconfig/cgred
/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/systemd/system/cgconfig.service
/usr/lib/systemd/system/cgred.service
/usr/sbin/cgclear
/usr/sbin/cgconfigparser
/usr/sbin/cgrulesengd
/usr/share/doc/libcgroup-tools-0.41
/usr/share/doc/libcgroup-tools-0.41/COPYING
/usr/share/doc/libcgroup-tools-0.41/README
/usr/share/doc/libcgroup-tools-0.41/README_systemd
/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/man5/cgred.conf.5.gz
/usr/share/man/man5/cgrules.conf.5.gz
/usr/share/man/man8/cgconfigparser.8.gz
/usr/share/man/man8/cgrulesengd.8.gz

References

Summary

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