How To Install libasr on Fedora 34

libasr is Free, simple and portable asynchronous resolver library Free, simple and portable asynchronous resolver library

Introduction

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

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. libasr 1.0.4 5.fc34 x86_64 39 k libasr-1.0.4-5.fc34.src.rpm fedora Free, simple and portable asynchronous resolver library https BSD 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libasr.

Install libasr 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 libasr using dnf by running the following command:

sudo dnf -y install libasr

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

sudo yum -y install libasr

How To Uninstall libasr on Fedora 34

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

sudo dnf remove libasr

libasr Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/c549a93b0bd24a237b50d110f32a5ad1ba9a4d
/usr/lib/libasr.so.0
/usr/lib/libasr.so.0.0.3
/usr/share/doc/libasr
/usr/share/doc/libasr/ChangeLog
/usr/share/doc/libasr/README.md
/usr/share/licenses/libasr
/usr/share/licenses/libasr/LICENCE
/usr/lib/.build-id
/usr/lib/.build-id/34
/usr/lib/.build-id/34/97a0635e58b11928eb88b399f3457f87f9483b
/usr/lib64/libasr.so.0
/usr/lib64/libasr.so.0.0.3
/usr/share/doc/libasr
/usr/share/doc/libasr/ChangeLog
/usr/share/doc/libasr/README.md
/usr/share/licenses/libasr
/usr/share/licenses/libasr/LICENCE

References

Summary

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