How To Install libasyncns.x86_64 on Amazon Linux 2

In this tutorial we learn how to install libasyncns.x86_64 in Amazon Linux 2. libasyncns.x86_64 is Asynchronous Name Service Library

Introduction

In this tutorial we learn how to install libasyncns.x86_64 on Amazon Linux 2.

What is libasyncns.x86_64

A small and lightweight library that implements easy to use asynchronous wrappers around the libc NSS functions getaddrinfo(), res_query() and related.

We can use yum to install libasyncns.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libasyncns.x86_64.

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

sudo yum -y install libasyncns.x86_64

How To Uninstall libasyncns.x86_64 on Amazon Linux 2

To uninstall only the libasyncns.x86_64 package we can use the following command:

sudo yum remove libasyncns.x86_64

libasyncns.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libasyncns.so.0
/usr/lib64/libasyncns.so.0.3.1
/usr/share/doc/libasyncns-0.8
/usr/share/doc/libasyncns-0.8/LICENSE
/usr/share/doc/libasyncns-0.8/README

References

Summary

In this tutorial we learn how to install libasyncns.x86_64 on Amazon Linux 2 using yum.