How To Install python3-bcrypt on Rocky Linux 8

In this tutorial we learn how to install python3-bcrypt on Rocky Linux 8. python3-bcrypt is Modern password hashing for your software and your servers

Introduction

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

What is python3-bcrypt

Modern password hashing for your software and your servers.

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

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

sudo dnf -y install python3-bcrypt

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

sudo yum -y install python3-bcrypt

How To Uninstall python3-bcrypt on Rocky Linux 8

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

sudo dnf remove python3-bcrypt

python3-bcrypt Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/82
/usr/lib/.build-id/82/cf950de9338d6c5ce4941040dcc098906ab19d
/usr/lib64/python3.6/site-packages/bcrypt
/usr/lib64/python3.6/site-packages/bcrypt-3.1.6-py3.6.egg-info
/usr/lib64/python3.6/site-packages/bcrypt-3.1.6-py3.6.egg-info/PKG-INFO
/usr/lib64/python3.6/site-packages/bcrypt-3.1.6-py3.6.egg-info/SOURCES.txt
/usr/lib64/python3.6/site-packages/bcrypt-3.1.6-py3.6.egg-info/dependency_links.txt
/usr/lib64/python3.6/site-packages/bcrypt-3.1.6-py3.6.egg-info/not-zip-safe
/usr/lib64/python3.6/site-packages/bcrypt-3.1.6-py3.6.egg-info/requires.txt
/usr/lib64/python3.6/site-packages/bcrypt-3.1.6-py3.6.egg-info/top_level.txt
/usr/lib64/python3.6/site-packages/bcrypt/__about__.py
/usr/lib64/python3.6/site-packages/bcrypt/__init__.py
/usr/lib64/python3.6/site-packages/bcrypt/__pycache__
/usr/lib64/python3.6/site-packages/bcrypt/__pycache__/__about__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/bcrypt/__pycache__/__about__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/bcrypt/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/bcrypt/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/bcrypt/_bcrypt.abi3.so
/usr/share/doc/python3-bcrypt
/usr/share/doc/python3-bcrypt/README.rst
/usr/share/licenses/python3-bcrypt
/usr/share/licenses/python3-bcrypt/LICENSE

References

Summary

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