How To Install audit-libs-python.x86_64 on Amazon Linux 2
In this tutorial we learn how to install audit-libs-python.x86_64 in Amazon Linux 2. audit-libs-python.x86_64 is Python bindings for libaudit
Introduction
In this tutorial we learn how to install audit-libs-python.x86_64 on Amazon Linux 2.
What is audit-libs-python.x86_64
The audit-libs-python package contains the bindings so that libaudit and libauparse can be used by python.
We can use yum to install audit-libs-python.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install audit-libs-python.x86_64.
Install audit-libs-python.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 audit-libs-python.x86_64 using yum by running the following command:
sudo yum -y install audit-libs-python.x86_64
How To Uninstall audit-libs-python.x86_64 on Amazon Linux 2
To uninstall only the audit-libs-python.x86_64 package we can use the following command:
sudo yum remove audit-libs-python.x86_64
audit-libs-python.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/python2.7/site-packages/_audit.so
/usr/lib64/python2.7/site-packages/audit.py
/usr/lib64/python2.7/site-packages/audit.pyc
/usr/lib64/python2.7/site-packages/audit.pyo
/usr/lib64/python2.7/site-packages/auparse.so
References
Summary
In this tutorial we learn how to install audit-libs-python.x86_64 on Amazon Linux 2 using yum.