How To Install libcap.i686 on Amazon Linux 2
In this tutorial we learn how to install libcap.i686 in Amazon Linux 2. libcap.i686 is Library for getting and setting POSIX.1e capabilities
Introduction
In this tutorial we learn how to install libcap.i686
on Amazon Linux 2.
What is libcap.i686
libcap is a library for getting and setting POSIX.1e (formerly POSIX 6) draft 15 capabilities.
We can use yum
to install libcap.i686
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libcap.i686.
Install libcap.i686 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.i686
using yum
by running the following command:
sudo yum -y install libcap.i686
How To Uninstall libcap.i686 on Amazon Linux 2
To uninstall only the libcap.i686
package we can use the following command:
sudo yum remove libcap.i686
libcap.i686 Package Contents on Amazon Linux 2
/usr/lib/libcap.so.2
/usr/lib/libcap.so.2.54
/usr/lib/libpsx.so.2
/usr/lib/libpsx.so.2.54
/usr/lib/security/pam_cap.so
/usr/sbin/capsh
/usr/sbin/getcap
/usr/sbin/getpcaps
/usr/sbin/setcap
/usr/share/doc/libcap-2.54
/usr/share/doc/libcap-2.54/capability.notes
/usr/share/licenses/libcap-2.54
/usr/share/licenses/libcap-2.54/License
/usr/share/man/man1/capsh.1.gz
/usr/share/man/man8/getcap.8.gz
/usr/share/man/man8/getpcaps.8.gz
/usr/share/man/man8/setcap.8.gz
References
Summary
In this tutorial we learn how to install libcap.i686
on Amazon Linux 2 using yum.