How To Install python3-cchardet on Rocky Linux 8

In this tutorial we learn how to install python3-cchardet on Rocky Linux 8. python3-cchardet is High speed universal character encoding detector

Introduction

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

What is python3-cchardet

cChardet is high speed universal character encoding detector.

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

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

sudo dnf -y install python3-cchardet

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

sudo yum -y install python3-cchardet

How To Uninstall python3-cchardet on Rocky Linux 8

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

sudo dnf remove python3-cchardet

python3-cchardet Package Contents on Rocky Linux 8

/usr/bin/cchardetect
/usr/lib/.build-id
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/92fc6c26bef3911bba1de4fbdd4bbe9d06753a
/usr/lib64/python3.6/site-packages/cchardet
/usr/lib64/python3.6/site-packages/cchardet-2.1.6-py3.6.egg-info
/usr/lib64/python3.6/site-packages/cchardet-2.1.6-py3.6.egg-info/PKG-INFO
/usr/lib64/python3.6/site-packages/cchardet-2.1.6-py3.6.egg-info/SOURCES.txt
/usr/lib64/python3.6/site-packages/cchardet-2.1.6-py3.6.egg-info/dependency_links.txt
/usr/lib64/python3.6/site-packages/cchardet-2.1.6-py3.6.egg-info/top_level.txt
/usr/lib64/python3.6/site-packages/cchardet/__init__.py
/usr/lib64/python3.6/site-packages/cchardet/__pycache__
/usr/lib64/python3.6/site-packages/cchardet/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/cchardet/__pycache__/__init__.cpython-36.pyc
/usr/lib64/python3.6/site-packages/cchardet/__pycache__/version.cpython-36.opt-1.pyc
/usr/lib64/python3.6/site-packages/cchardet/__pycache__/version.cpython-36.pyc
/usr/lib64/python3.6/site-packages/cchardet/_cchardet.cpython-36m-x86_64-linux-gnu.so
/usr/lib64/python3.6/site-packages/cchardet/version.py
/usr/share/doc/python3-cchardet
/usr/share/doc/python3-cchardet/README.maintainer
/usr/share/doc/python3-cchardet/README.md
/usr/share/doc/python3-cchardet/README.rst
/usr/share/licenses/python3-cchardet
/usr/share/licenses/python3-cchardet/COPYING

References

Summary

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