How To Install python3-utils on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-utils on Rocky Linux 8.
What is python3-utils
Python Utils is a collection of small Python functions and classes which make common patterns shorter and easier. This module makes it easy to execute common tasks in Python scripts such as converting text to numbers and making sure a string is in unicode or bytes format.
We can use yum or dnf to install python3-utils on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-utils.
Install python3-utils 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-utils using dnf by running the following command:
sudo dnf -y install python3-utils
Install python3-utils 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-utils using yum by running the following command:
sudo yum -y install python3-utils
How To Uninstall python3-utils on Rocky Linux 8
To uninstall only the python3-utils package we can use the following command:
sudo dnf remove python3-utils
python3-utils Package Contents on Rocky Linux 8
/usr/lib/python3.6/site-packages/python_utils
/usr/lib/python3.6/site-packages/python_utils-2.5.6-py3.6.egg-info
/usr/lib/python3.6/site-packages/python_utils-2.5.6-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/python_utils-2.5.6-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/python_utils-2.5.6-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/python_utils-2.5.6-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/python_utils-2.5.6-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/python_utils/__about__.py
/usr/lib/python3.6/site-packages/python_utils/__init__.py
/usr/lib/python3.6/site-packages/python_utils/__pycache__
/usr/lib/python3.6/site-packages/python_utils/__pycache__/__about__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/python_utils/__pycache__/__about__.cpython-36.pyc
/usr/lib/python3.6/site-packages/python_utils/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/python_utils/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/python_utils/__pycache__/compat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/python_utils/__pycache__/compat.cpython-36.pyc
/usr/lib/python3.6/site-packages/python_utils/__pycache__/converters.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/python_utils/__pycache__/converters.cpython-36.pyc
/usr/lib/python3.6/site-packages/python_utils/__pycache__/decorators.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/python_utils/__pycache__/decorators.cpython-36.pyc
/usr/lib/python3.6/site-packages/python_utils/__pycache__/formatters.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/python_utils/__pycache__/formatters.cpython-36.pyc
/usr/lib/python3.6/site-packages/python_utils/__pycache__/import_.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/python_utils/__pycache__/import_.cpython-36.pyc
/usr/lib/python3.6/site-packages/python_utils/__pycache__/logger.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/python_utils/__pycache__/logger.cpython-36.pyc
/usr/lib/python3.6/site-packages/python_utils/__pycache__/terminal.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/python_utils/__pycache__/terminal.cpython-36.pyc
/usr/lib/python3.6/site-packages/python_utils/__pycache__/time.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/python_utils/__pycache__/time.cpython-36.pyc
/usr/lib/python3.6/site-packages/python_utils/compat.py
/usr/lib/python3.6/site-packages/python_utils/converters.py
/usr/lib/python3.6/site-packages/python_utils/decorators.py
/usr/lib/python3.6/site-packages/python_utils/formatters.py
/usr/lib/python3.6/site-packages/python_utils/import_.py
/usr/lib/python3.6/site-packages/python_utils/logger.py
/usr/lib/python3.6/site-packages/python_utils/terminal.py
/usr/lib/python3.6/site-packages/python_utils/time.py
/usr/share/doc/python3-utils
/usr/share/doc/python3-utils/README.rst
/usr/share/doc/python3-utils/html
/usr/share/doc/python3-utils/html/_modules
/usr/share/doc/python3-utils/html/_modules/index.html
/usr/share/doc/python3-utils/html/_modules/logging.html
/usr/share/doc/python3-utils/html/_modules/python_utils
/usr/share/doc/python3-utils/html/_modules/python_utils/converters.html
/usr/share/doc/python3-utils/html/_modules/python_utils/decorators.html
/usr/share/doc/python3-utils/html/_modules/python_utils/formatters.html
/usr/share/doc/python3-utils/html/_modules/python_utils/import_.html
/usr/share/doc/python3-utils/html/_modules/python_utils/logger.html
/usr/share/doc/python3-utils/html/_modules/python_utils/terminal.html
/usr/share/doc/python3-utils/html/_modules/python_utils/time.html
/usr/share/doc/python3-utils/html/_sources
/usr/share/doc/python3-utils/html/_sources/index.rst.txt
/usr/share/doc/python3-utils/html/_sources/python_utils.rst.txt
/usr/share/doc/python3-utils/html/_sources/usage.rst.txt
/usr/share/doc/python3-utils/html/_static
/usr/share/doc/python3-utils/html/_static/ajax-loader.gif
/usr/share/doc/python3-utils/html/_static/basic.css
/usr/share/doc/python3-utils/html/_static/comment-bright.png
/usr/share/doc/python3-utils/html/_static/comment-close.png
/usr/share/doc/python3-utils/html/_static/comment.png
/usr/share/doc/python3-utils/html/_static/doctools.js
/usr/share/doc/python3-utils/html/_static/documentation_options.js
/usr/share/doc/python3-utils/html/_static/down-pressed.png
/usr/share/doc/python3-utils/html/_static/down.png
/usr/share/doc/python3-utils/html/_static/file.png
/usr/share/doc/python3-utils/html/_static/flasky.css
/usr/share/doc/python3-utils/html/_static/jquery-3.2.1.js
/usr/share/doc/python3-utils/html/_static/jquery.js
/usr/share/doc/python3-utils/html/_static/minus.png
/usr/share/doc/python3-utils/html/_static/plus.png
/usr/share/doc/python3-utils/html/_static/pygments.css
/usr/share/doc/python3-utils/html/_static/searchtools.js
/usr/share/doc/python3-utils/html/_static/small_flask.css
/usr/share/doc/python3-utils/html/_static/underscore-1.3.1.js
/usr/share/doc/python3-utils/html/_static/underscore.js
/usr/share/doc/python3-utils/html/_static/up-pressed.png
/usr/share/doc/python3-utils/html/_static/up.png
/usr/share/doc/python3-utils/html/_static/websupport.js
/usr/share/doc/python3-utils/html/genindex.html
/usr/share/doc/python3-utils/html/index.html
/usr/share/doc/python3-utils/html/py-modindex.html
/usr/share/doc/python3-utils/html/python_utils.html
/usr/share/doc/python3-utils/html/search.html
/usr/share/doc/python3-utils/html/searchindex.js
/usr/share/doc/python3-utils/html/usage.html
/usr/share/licenses/python3-utils
/usr/share/licenses/python3-utils/LICENSE
References
Summary
In this tutorial we learn how to install python3-utils on Rocky Linux 8 using yum and dnf.