How To Install python3-validators on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-validators
on Rocky Linux 8.
What is python3-validators
Python has all kinds of data validation tools, but every one of them seems to require defining a schema or form. I wanted to create a simple validation library where validating a simple value does not require defining a form or a schema.
We can use yum
or dnf
to install python3-validators
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-validators.
Install python3-validators 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-validators
using dnf
by running the following command:
sudo dnf -y install python3-validators
Install python3-validators 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-validators
using yum
by running the following command:
sudo yum -y install python3-validators
How To Uninstall python3-validators on Rocky Linux 8
To uninstall only the python3-validators
package we can use the following command:
sudo dnf remove python3-validators
python3-validators Package Contents on Rocky Linux 8
/usr/lib/python3.6/site-packages/validators
/usr/lib/python3.6/site-packages/validators-0.14.2-py3.6.egg-info
/usr/lib/python3.6/site-packages/validators-0.14.2-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/validators-0.14.2-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/validators-0.14.2-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/validators-0.14.2-py3.6.egg-info/not-zip-safe
/usr/lib/python3.6/site-packages/validators-0.14.2-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/validators-0.14.2-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/validators/__init__.py
/usr/lib/python3.6/site-packages/validators/__pycache__
/usr/lib/python3.6/site-packages/validators/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/between.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/between.cpython-36.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/domain.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/domain.cpython-36.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/email.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/email.cpython-36.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/extremes.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/extremes.cpython-36.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/hashes.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/hashes.cpython-36.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/iban.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/iban.cpython-36.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/ip_address.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/ip_address.cpython-36.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/length.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/length.cpython-36.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/mac_address.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/mac_address.cpython-36.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/slug.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/slug.cpython-36.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/truthy.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/truthy.cpython-36.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/url.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/url.cpython-36.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/uuid.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/validators/__pycache__/uuid.cpython-36.pyc
/usr/lib/python3.6/site-packages/validators/between.py
/usr/lib/python3.6/site-packages/validators/domain.py
/usr/lib/python3.6/site-packages/validators/email.py
/usr/lib/python3.6/site-packages/validators/extremes.py
/usr/lib/python3.6/site-packages/validators/hashes.py
/usr/lib/python3.6/site-packages/validators/i18n
/usr/lib/python3.6/site-packages/validators/i18n/__init__.py
/usr/lib/python3.6/site-packages/validators/i18n/__pycache__
/usr/lib/python3.6/site-packages/validators/i18n/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/validators/i18n/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/validators/i18n/__pycache__/es.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/validators/i18n/__pycache__/es.cpython-36.pyc
/usr/lib/python3.6/site-packages/validators/i18n/__pycache__/fi.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/validators/i18n/__pycache__/fi.cpython-36.pyc
/usr/lib/python3.6/site-packages/validators/i18n/es.py
/usr/lib/python3.6/site-packages/validators/i18n/fi.py
/usr/lib/python3.6/site-packages/validators/iban.py
/usr/lib/python3.6/site-packages/validators/ip_address.py
/usr/lib/python3.6/site-packages/validators/length.py
/usr/lib/python3.6/site-packages/validators/mac_address.py
/usr/lib/python3.6/site-packages/validators/slug.py
/usr/lib/python3.6/site-packages/validators/truthy.py
/usr/lib/python3.6/site-packages/validators/url.py
/usr/lib/python3.6/site-packages/validators/utils.py
/usr/lib/python3.6/site-packages/validators/uuid.py
/usr/share/doc/python3-validators
/usr/share/doc/python3-validators/CHANGES.rst
/usr/share/doc/python3-validators/README.rst
/usr/share/licenses/python3-validators
/usr/share/licenses/python3-validators/LICENSE
References
Summary
In this tutorial we learn how to install python3-validators
on Rocky Linux 8 using yum and dnf.