How To Install libcgroup.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libcgroup.x86_64 in Amazon Linux 2. libcgroup.x86_64 is Library to control and monitor control groups

Introduction

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

What is libcgroup.x86_64

Control groups infrastructure. The library helps manipulate, control, administrate and monitor control groups and the associated controllers.

We can use yum to install libcgroup.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.x86_64.

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

sudo yum -y install libcgroup.x86_64

How To Uninstall libcgroup.x86_64 on Amazon Linux 2

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

sudo yum remove libcgroup.x86_64

libcgroup.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libcgroup.so.1
/usr/lib64/libcgroup.so.1.0.41
/usr/share/doc/libcgroup-0.41
/usr/share/doc/libcgroup-0.41/COPYING
/usr/share/doc/libcgroup-0.41/README

References

Summary

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