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

In this tutorial we learn how to install libcgroup-devel.x86_64 in Amazon Linux 2. libcgroup-devel.x86_64 is Development libraries to develop applications that utilize control

Introduction

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

What is libcgroup-devel.x86_64

It provides API to create/delete and modify cgroup nodes. It will also in the future allow creation of persistent configuration for control groups and provide scripts to manage that configuration.

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

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

sudo yum -y install libcgroup-devel.x86_64

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

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

sudo yum remove libcgroup-devel.x86_64

libcgroup-devel.x86_64 Package Contents on Amazon Linux 2

/usr/include/libcgroup.h
/usr/include/libcgroup/config.h
/usr/include/libcgroup/error.h
/usr/include/libcgroup/groups.h
/usr/include/libcgroup/init.h
/usr/include/libcgroup/iterators.h
/usr/include/libcgroup/log.h
/usr/include/libcgroup/tasks.h
/usr/lib64/libcgroup.so
/usr/lib64/pkgconfig/libcgroup.pc
/usr/share/doc/libcgroup-devel-0.41
/usr/share/doc/libcgroup-devel-0.41/COPYING
/usr/share/doc/libcgroup-devel-0.41/README

References

Summary

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