How To Install nss_db.i686 on Amazon Linux 2

In this tutorial we learn how to install nss_db.i686 in Amazon Linux 2. nss_db.i686 is Name Service Switch (NSS) module using hash-indexed files

Introduction

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

What is nss_db.i686

The nss_db Name Service Switch module uses hash-indexed files in /var/db to speed up user, group, service, host name, and other NSS-based lookups.

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

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

sudo yum -y install nss_db.i686

How To Uninstall nss_db.i686 on Amazon Linux 2

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

sudo yum remove nss_db.i686

nss_db.i686 Package Contents on Amazon Linux 2

/lib/libnss_db-2.26.so
/lib/libnss_db.so.2
/var/db/Makefile

References

Summary

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