How To Install python3-auth-credential on AlmaLinux 8

In this tutorial we learn how to install python3-auth-credential in AlmaLinux 8. python3-auth-credential is Python abstraction of a credential

Introduction

In this tutorial we learn how to install python3-auth-credential on AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 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 AlmaLinux 8

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

sudo dnf remove python3-auth-credential

References

Summary

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