How To Install nss_nis.i686 on Amazon Linux 2

In this tutorial we learn how to install nss_nis.i686 in Amazon Linux 2. nss_nis.i686 is Name Service Switch (NSS) module using NIS

Introduction

In this tutorial we learn how to install nss_nis.i686 on Amazon Linux 2.

What is nss_nis.i686

The nss_nis and nss_nisplus Name Service Switch modules uses the Network Information System (NIS) to obtain user, group, host name, and other data.

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

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

sudo yum -y install nss_nis.i686

How To Uninstall nss_nis.i686 on Amazon Linux 2

To uninstall only the nss_nis.i686 package we can use the following command:

sudo yum remove nss_nis.i686

nss_nis.i686 Package Contents on Amazon Linux 2

/lib/libnss_nis-2.26.so
/lib/libnss_nis.so.2
/lib/libnss_nisplus-2.26.so
/lib/libnss_nisplus.so.2

References

Summary

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