How To Install libaio.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install libaio.x86_64
on Amazon Linux 2.
What is libaio.x86_64
The Linux-native asynchronous I/O facility (“async I/O”, or “aio”) has a richer API and capability set than the simple POSIX async I/O facility. This library, libaio, provides the Linux-native API for async I/O. The POSIX async I/O facility requires this library in order to provide kernel-accelerated async I/O capabilities, as do applications which require the Linux-native async I/O API.
We can use yum
to install libaio.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libaio.x86_64.
Install libaio.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 libaio.x86_64
using yum
by running the following command:
sudo yum -y install libaio.x86_64
How To Uninstall libaio.x86_64 on Amazon Linux 2
To uninstall only the libaio.x86_64
package we can use the following command:
sudo yum remove libaio.x86_64
libaio.x86_64 Package Contents on Amazon Linux 2
/lib64/libaio.so.1
/lib64/libaio.so.1.0.0
/lib64/libaio.so.1.0.1
/usr/share/doc/libaio-0.3.109
/usr/share/doc/libaio-0.3.109/COPYING
/usr/share/doc/libaio-0.3.109/TODO
References
Summary
In this tutorial we learn how to install libaio.x86_64
on Amazon Linux 2 using yum.