How To Install python3-libpamtest on Fedora 36

In this tutorial we learn how to install python3-libpamtest in Fedora 36. python3-libpamtest is A python wrapper for libpamtest

Introduction

In this tutorial we learn how to install python3-libpamtest on Fedora 36.

What is python3-libpamtest

If you plan to develop python tests for a PAM module you can use this library, which simplifies testing of modules. This subpackage includes the header files for libpamtest

We can use yum or dnf to install python3-libpamtest on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install python3-libpamtest.

Install python3-libpamtest on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install python3-libpamtest

Install python3-libpamtest on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install python3-libpamtest

How To Uninstall python3-libpamtest on Fedora 36

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

sudo dnf remove python3-libpamtest

python3-libpamtest Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/67
/usr/lib/.build-id/67/d262fbcc8ce63cbe5e07f27680f09673cdc19a
/usr/lib64/python3.10/site-packages/pypamtest.so

References

Summary

In this tutorial we learn how to install python3-libpamtest on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).