How To Install python3-zxcvbn on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-zxcvbn on Rocky Linux 8.
What is python3-zxcvbn
A realistic password strength estimator. This is a Python implementation of the library created by the team at Dropbox. The original library was written for JavaScript. Accepts user data to be added to the dictionaries that are tested against (name, birthdate, etc). Gives a score to the password, from 0 (terrible) to 4 (great). It provides feedback on the password and ways to improve it and returns time estimates on how long it would take to guess the password in different situations.
We can use yum or dnf to install python3-zxcvbn on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-zxcvbn.
Install python3-zxcvbn 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-zxcvbn using dnf by running the following command:
sudo dnf -y install python3-zxcvbn
Install python3-zxcvbn 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-zxcvbn using yum by running the following command:
sudo yum -y install python3-zxcvbn
How To Uninstall python3-zxcvbn on Rocky Linux 8
To uninstall only the python3-zxcvbn package we can use the following command:
sudo dnf remove python3-zxcvbn
python3-zxcvbn Package Contents on Rocky Linux 8
/usr/bin/zxcvbn
/usr/lib/python3.6/site-packages/zxcvbn
/usr/lib/python3.6/site-packages/zxcvbn-4.4.28-py3.6.egg-info
/usr/lib/python3.6/site-packages/zxcvbn-4.4.28-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/zxcvbn-4.4.28-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/zxcvbn-4.4.28-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/zxcvbn-4.4.28-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/zxcvbn-4.4.28-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/zxcvbn/__init__.py
/usr/lib/python3.6/site-packages/zxcvbn/__main__.py
/usr/lib/python3.6/site-packages/zxcvbn/__pycache__
/usr/lib/python3.6/site-packages/zxcvbn/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/zxcvbn/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/zxcvbn/__pycache__/__main__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/zxcvbn/__pycache__/__main__.cpython-36.pyc
/usr/lib/python3.6/site-packages/zxcvbn/__pycache__/adjacency_graphs.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/zxcvbn/__pycache__/adjacency_graphs.cpython-36.pyc
/usr/lib/python3.6/site-packages/zxcvbn/__pycache__/feedback.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/zxcvbn/__pycache__/feedback.cpython-36.pyc
/usr/lib/python3.6/site-packages/zxcvbn/__pycache__/frequency_lists.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/zxcvbn/__pycache__/frequency_lists.cpython-36.pyc
/usr/lib/python3.6/site-packages/zxcvbn/__pycache__/matching.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/zxcvbn/__pycache__/matching.cpython-36.pyc
/usr/lib/python3.6/site-packages/zxcvbn/__pycache__/scoring.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/zxcvbn/__pycache__/scoring.cpython-36.pyc
/usr/lib/python3.6/site-packages/zxcvbn/__pycache__/time_estimates.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/zxcvbn/__pycache__/time_estimates.cpython-36.pyc
/usr/lib/python3.6/site-packages/zxcvbn/adjacency_graphs.py
/usr/lib/python3.6/site-packages/zxcvbn/feedback.py
/usr/lib/python3.6/site-packages/zxcvbn/frequency_lists.py
/usr/lib/python3.6/site-packages/zxcvbn/matching.py
/usr/lib/python3.6/site-packages/zxcvbn/scoring.py
/usr/lib/python3.6/site-packages/zxcvbn/time_estimates.py
/usr/share/doc/python3-zxcvbn
/usr/share/doc/python3-zxcvbn/README.rst
/usr/share/licenses/python3-zxcvbn
/usr/share/licenses/python3-zxcvbn/LICENSE.txt
References
Summary
In this tutorial we learn how to install python3-zxcvbn on Rocky Linux 8 using yum and dnf.