How To Install libvirt-nss.i686 on Amazon Linux 2

In this tutorial we learn how to install libvirt-nss.i686 in Amazon Linux 2. libvirt-nss.i686 is Libvirt plugin for Name Service Switch

Introduction

In this tutorial we learn how to install libvirt-nss.i686 on Amazon Linux 2.

What is libvirt-nss.i686

Libvirt plugin for NSS for translating domain names into IP addresses.

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

Install libvirt-nss.i686 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 libvirt-nss.i686 using yum by running the following command:

sudo yum -y install libvirt-nss.i686

How To Uninstall libvirt-nss.i686 on Amazon Linux 2

To uninstall only the libvirt-nss.i686 package we can use the following command:

sudo yum remove libvirt-nss.i686

libvirt-nss.i686 Package Contents on Amazon Linux 2

/usr/lib/libnss_libvirt.so.2
/usr/lib/libnss_libvirt_guest.so.2

References

Summary

In this tutorial we learn how to install libvirt-nss.i686 on Amazon Linux 2 using yum.