How To Install python3-auth-credential on Rocky Linux 8

In this tutorial we learn how to install python3-auth-credential on Rocky Linux 8. python3-auth-credential is Python abstraction of a credential

Introduction

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

What is python3-auth-credential

This module offers an abstraction of a credential, i.e. something that can be used to authenticate. It allows the creation and manipulation of credentials. In particular, it defines a standard string representation (so that credentials can be given to external programs as command line options), a standard structured representation (so that credentials can be stored in structured configuration files or using JSON) and “preparators” that can transform credentials into ready-to-use data for well known targets. The python module auth.credential is compatible with the Perl module Authen

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

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

sudo dnf -y install python3-auth-credential

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

sudo yum -y install python3-auth-credential

How To Uninstall python3-auth-credential on Rocky Linux 8

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

sudo dnf remove python3-auth-credential

python3-auth-credential Package Contents on Rocky Linux 8

/usr/lib/python3.6/site-packages/auth
/usr/lib/python3.6/site-packages/auth.credential-1.0-py3.6.egg-info
/usr/lib/python3.6/site-packages/auth/__init__.py
/usr/lib/python3.6/site-packages/auth/__pycache__
/usr/lib/python3.6/site-packages/auth/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/auth/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/auth/credential
/usr/lib/python3.6/site-packages/auth/credential/__init__.py
/usr/lib/python3.6/site-packages/auth/credential/__pycache__
/usr/lib/python3.6/site-packages/auth/credential/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/auth/credential/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/auth/credential/__pycache__/credential.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/auth/credential/__pycache__/credential.cpython-36.pyc
/usr/lib/python3.6/site-packages/auth/credential/__pycache__/error.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/auth/credential/__pycache__/error.cpython-36.pyc
/usr/lib/python3.6/site-packages/auth/credential/credential.py
/usr/lib/python3.6/site-packages/auth/credential/error.py
/usr/lib/python3.6/site-packages/auth/credential/modules
/usr/lib/python3.6/site-packages/auth/credential/modules/__init__.py
/usr/lib/python3.6/site-packages/auth/credential/modules/__pycache__
/usr/lib/python3.6/site-packages/auth/credential/modules/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/auth/credential/modules/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/auth/credential/modules/__pycache__/non.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/auth/credential/modules/__pycache__/non.cpython-36.pyc
/usr/lib/python3.6/site-packages/auth/credential/modules/__pycache__/plain.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/auth/credential/modules/__pycache__/plain.cpython-36.pyc
/usr/lib/python3.6/site-packages/auth/credential/modules/__pycache__/x509.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/auth/credential/modules/__pycache__/x509.cpython-36.pyc
/usr/lib/python3.6/site-packages/auth/credential/modules/non.py
/usr/lib/python3.6/site-packages/auth/credential/modules/plain.py
/usr/lib/python3.6/site-packages/auth/credential/modules/x509.py
/usr/share/doc/python3-auth-credential
/usr/share/doc/python3-auth-credential/CHANGES
/usr/share/doc/python3-auth-credential/LICENSE
/usr/share/doc/python3-auth-credential/README.rst

References

Summary

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