How To Install python3-sss on Rocky Linux 8

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

Introduction

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

What is python3-sss

Provides python3 module for manipulating users, groups, and nested groups in SSSD when using id_provider = local in /etc/sssd/sssd.conf. Also provides several other useful python3 bindings * function for retrieving list of groups user belongs to. * class for obfuscation of passwords

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

Install python3-sss 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-sss using dnf by running the following command:

sudo dnf -y install python3-sss

Install python3-sss 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-sss using yum by running the following command:

sudo yum -y install python3-sss

How To Uninstall python3-sss on Rocky Linux 8

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

sudo dnf remove python3-sss

python3-sss Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/61624a2e6b7bb7a109577245a987bfad940f40
/usr/lib64/python3.6/site-packages/pysss.so
/usr/lib/.build-id
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/dba3b774f6f22794d30ac39785b074605eddc2
/usr/lib64/python3.6/site-packages/pysss.so

References

Summary

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