How To Install python3-libsss_nss_idmap on Rocky Linux 8

In this tutorial we learn how to install python3-libsss_nss_idmap on Rocky Linux 8. python3-libsss_nss_idmap is Python3 bindings for libsss_nss_idmap

Introduction

In this tutorial we learn how to install python3-libsss_nss_idmap on Rocky Linux 8.

What is python3-libsss_nss_idmap

The python3-libsss_nss_idmap contains the bindings so that libsss_nss_idmap can be used by Python applications.

We can use yum or dnf to install python3-libsss_nss_idmap on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-libsss_nss_idmap.

Install python3-libsss_nss_idmap on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install python3-libsss_nss_idmap using dnf by running the following command:

sudo dnf -y install python3-libsss_nss_idmap

Install python3-libsss_nss_idmap on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install python3-libsss_nss_idmap using yum by running the following command:

sudo yum -y install python3-libsss_nss_idmap

How To Uninstall python3-libsss_nss_idmap on Rocky Linux 8

To uninstall only the python3-libsss_nss_idmap package we can use the following command:

sudo dnf remove python3-libsss_nss_idmap

python3-libsss_nss_idmap Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/402c7b3e3300ed4209230955d7cf2c0a89c448
/usr/lib64/python3.6/site-packages/pysss_nss_idmap.so
/usr/lib/.build-id
/usr/lib/.build-id/de
/usr/lib/.build-id/de/81fbc30362aa698036ebd8b1e6408e78f4490d
/usr/lib64/python3.6/site-packages/pysss_nss_idmap.so

References

Summary

In this tutorial we learn how to install python3-libsss_nss_idmap on Rocky Linux 8 using yum and dnf.