How To Install libcap-ng-utils.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libcap-ng-utils.x86_64 in Amazon Linux 2. libcap-ng-utils.x86_64 is Utilities for analyzing and setting file capabilities

Introduction

In this tutorial we learn how to install libcap-ng-utils.x86_64 on Amazon Linux 2.

What is libcap-ng-utils.x86_64

The libcap-ng-utils package contains applications to analyze the posix capabilities of all the program running on a system. It also lets you set the file system based capabilities.

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

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

sudo yum -y install libcap-ng-utils.x86_64

How To Uninstall libcap-ng-utils.x86_64 on Amazon Linux 2

To uninstall only the libcap-ng-utils.x86_64 package we can use the following command:

sudo yum remove libcap-ng-utils.x86_64

libcap-ng-utils.x86_64 Package Contents on Amazon Linux 2

/usr/bin/captest
/usr/bin/filecap
/usr/bin/netcap
/usr/bin/pscap
/usr/share/doc/libcap-ng-utils-0.7.5
/usr/share/doc/libcap-ng-utils-0.7.5/COPYING
/usr/share/man/man8/captest.8.gz
/usr/share/man/man8/filecap.8.gz
/usr/share/man/man8/netcap.8.gz
/usr/share/man/man8/pscap.8.gz

References

Summary

In this tutorial we learn how to install libcap-ng-utils.x86_64 on Amazon Linux 2 using yum.