How To Install libaio on Fedora 34

libaio is Linux-native asynchronous I/O access library Linux-native asynchronous I/O access library

Introduction

In this tutorial we learn how to install libaio on Fedora 34.

What is libaio

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. libaio 0.3.111 11.fc34 x86_64 24 k libaio-0.3.111-11.fc34.src.rpm fedora Linux-native asynchronous I/O access library LGPLv2+ 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 or dnf to install libaio on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libaio.

Install libaio on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libaio using dnf by running the following command:

sudo dnf -y install libaio

Install libaio on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libaio using yum by running the following command:

sudo yum -y install libaio

How To Uninstall libaio on Fedora 34

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

sudo dnf remove libaio

libaio Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/17
/usr/lib/.build-id/17/4c72e5298c0177cd81d8f96fa7d9127c529655
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/18622d6efa9532f29ccaa71ba7b679f53623fa
/usr/lib/libaio.so.1
/usr/lib/libaio.so.1.0.0
/usr/lib/libaio.so.1.0.1
/usr/share/licenses/libaio
/usr/share/licenses/libaio/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/7da6fa1559d217b05c3fc7c8ea054c7c6efb30
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/95a50be64ba60d69297b62ded28e8700ded70e
/usr/lib64/libaio.so.1
/usr/lib64/libaio.so.1.0.0
/usr/lib64/libaio.so.1.0.1
/usr/share/licenses/libaio
/usr/share/licenses/libaio/COPYING

References

Summary

In this tutorial we learn how to install libaio on Fedora 34 using yum and dnf.