How To Install libaio.i686 on Amazon Linux 2

In this tutorial we learn how to install libaio.i686 in Amazon Linux 2. libaio.i686 is Linux-native asynchronous I/O access library

Introduction

In this tutorial we learn how to install libaio.i686 on Amazon Linux 2.

What is libaio.i686

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.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libaio.i686.

Install libaio.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 libaio.i686 using yum by running the following command:

sudo yum -y install libaio.i686

How To Uninstall libaio.i686 on Amazon Linux 2

To uninstall only the libaio.i686 package we can use the following command:

sudo yum remove libaio.i686

libaio.i686 Package Contents on Amazon Linux 2

/lib/libaio.so.1
/lib/libaio.so.1.0.0
/lib/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.i686 on Amazon Linux 2 using yum.