How To Install python3-logutils on Rocky Linux 8
Introduction
In this tutorial we learn how to install python3-logutils
on Rocky Linux 8.
What is python3-logutils
The logutils package provides a set of handlers for the Python standard library’s logging package. Some of these handlers are out-of-scope for the standard library, and so they are packaged here. Others are updated versions which have appeared in recent Python releases, but are usable with older versions of Python and so are packaged here.
We can use yum
or dnf
to install python3-logutils
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install python3-logutils.
Install python3-logutils 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-logutils
using dnf
by running the following command:
sudo dnf -y install python3-logutils
Install python3-logutils 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-logutils
using yum
by running the following command:
sudo yum -y install python3-logutils
How To Uninstall python3-logutils on Rocky Linux 8
To uninstall only the python3-logutils
package we can use the following command:
sudo dnf remove python3-logutils
python3-logutils Package Contents on Rocky Linux 8
/usr/lib/python3.6/site-packages/logutils
/usr/lib/python3.6/site-packages/logutils-0.3.5-py3.6.egg-info
/usr/lib/python3.6/site-packages/logutils/__init__.py
/usr/lib/python3.6/site-packages/logutils/__pycache__
/usr/lib/python3.6/site-packages/logutils/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/logutils/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/logutils/__pycache__/adapter.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/logutils/__pycache__/adapter.cpython-36.pyc
/usr/lib/python3.6/site-packages/logutils/__pycache__/colorize.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/logutils/__pycache__/colorize.cpython-36.pyc
/usr/lib/python3.6/site-packages/logutils/__pycache__/dictconfig.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/logutils/__pycache__/dictconfig.cpython-36.pyc
/usr/lib/python3.6/site-packages/logutils/__pycache__/http.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/logutils/__pycache__/http.cpython-36.pyc
/usr/lib/python3.6/site-packages/logutils/__pycache__/queue.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/logutils/__pycache__/queue.cpython-36.pyc
/usr/lib/python3.6/site-packages/logutils/__pycache__/redis.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/logutils/__pycache__/redis.cpython-36.pyc
/usr/lib/python3.6/site-packages/logutils/__pycache__/testing.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/logutils/__pycache__/testing.cpython-36.pyc
/usr/lib/python3.6/site-packages/logutils/adapter.py
/usr/lib/python3.6/site-packages/logutils/colorize.py
/usr/lib/python3.6/site-packages/logutils/dictconfig.py
/usr/lib/python3.6/site-packages/logutils/http.py
/usr/lib/python3.6/site-packages/logutils/queue.py
/usr/lib/python3.6/site-packages/logutils/redis.py
/usr/lib/python3.6/site-packages/logutils/testing.py
/usr/share/doc/python3-logutils
/usr/share/doc/python3-logutils/NEWS.txt
/usr/share/doc/python3-logutils/README.rst
/usr/share/doc/python3-logutils/doc
/usr/share/doc/python3-logutils/doc/Makefile
/usr/share/doc/python3-logutils/doc/adapter.rst
/usr/share/doc/python3-logutils/doc/colorize.rst
/usr/share/doc/python3-logutils/doc/conf.py
/usr/share/doc/python3-logutils/doc/dictconfig.rst
/usr/share/doc/python3-logutils/doc/http.rst
/usr/share/doc/python3-logutils/doc/index.rst
/usr/share/doc/python3-logutils/doc/libraries.rst
/usr/share/doc/python3-logutils/doc/queue.rst
/usr/share/doc/python3-logutils/doc/redis.rst
/usr/share/doc/python3-logutils/doc/testing.rst
/usr/share/doc/python3-logutils/doc/whatsnew.rst
/usr/share/licenses/python3-logutils
/usr/share/licenses/python3-logutils/LICENSE.txt
References
Summary
In this tutorial we learn how to install python3-logutils
on Rocky Linux 8 using yum and dnf.