How To Install libeio on CentOS 7
Introduction
In this tutorial we learn how to install libeio
on CentOS 7.
What is libeio
Libeio is a full-featured asynchronous I/O library for C, modeled in similar style and spirit as libev. Features include asynchronous read, write, open, close, stat, unlink, fdatasync, mknod, readdir etc. (basically the full POSIX API). sendfile (native on Solaris, Linux, HP-UX, FreeBSD, emulated everywhere else), readahead (emulated where not available). It is fully event-library agnostic and can easily be integrated into any event-library (or used standalone, even in polling mode). It is very portable and relies only on POSIX threads.
We can use yum
or dnf
to install libeio
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libeio.
Install libeio on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install libeio
using yum
by running the following command:
Install libeio on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install libeio
using dnf
by running the following command:
How To Uninstall libeio on CentOS 7
To uninstall only the libeio
package we can use the following command:
References
Summary
In this tutorial we learn how to install libeio
on CentOS 7 using yum
and dnf
.