How To Install libcap-static.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install libcap-static.x86_64 on Amazon Linux 2.
What is libcap-static.x86_64
The libcap-static package contains static libraries needed to develop programs that use libcap and need to be statically linked. libcap is a library for getting and setting POSIX.1e (formerly POSIX 6) draft 15 capabilities.
We can use yum to install libcap-static.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-static.x86_64.
Install libcap-static.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-static.x86_64 using yum by running the following command:
sudo yum -y install libcap-static.x86_64
How To Uninstall libcap-static.x86_64 on Amazon Linux 2
To uninstall only the libcap-static.x86_64 package we can use the following command:
sudo yum remove libcap-static.x86_64
libcap-static.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/libcap.a
/usr/lib64/libpsx.a
References
Summary
In this tutorial we learn how to install libcap-static.x86_64 on Amazon Linux 2 using yum.