How To Install libasr on CentOS 7
Introduction
In this tutorial we learn how to install libasr
on CentOS 7.
What is libasr
Libasr allows to run DNS queries and perform hostname resolutions in a fully asynchronous fashion. The implementation is thread-less, fork-less, and does not make use of signals or other “tricks” that might get in the developer’s way. The API was initially developed for the OpenBSD operating system, where it is natively supported. This library is intended to bring this interface to other systems. It is originally provided as a support library for the portable version of the OpenSMTPD daemon, but it can be used in any other contexts.
We can use yum
or dnf
to install libasr
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libasr.
Install libasr on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install libasr
using yum
by running the following command:
Install libasr 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 libasr
using dnf
by running the following command:
How To Uninstall libasr on CentOS 7
To uninstall only the libasr
package we can use the following command:
References
Summary
In this tutorial we learn how to install libasr
on CentOS 7 using yum
and dnf
.