How To Install uchardet on Rocky Linux 8
Introduction
In this tutorial we learn how to install uchardet
on Rocky Linux 8.
What is uchardet
Uchardet is a C language binding of the original C++ implementation of the universal charset detection library by Mozilla. Uchardet is an encoding detector library, which takes a sequence of bytes in an unknown character encoding without any additional information, and attempts to determine the encoding of the text.
We can use yum
or dnf
to install uchardet
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install uchardet.
Install uchardet 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 uchardet
using dnf
by running the following command:
sudo dnf -y install uchardet
Install uchardet 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 uchardet
using yum
by running the following command:
sudo yum -y install uchardet
How To Uninstall uchardet on Rocky Linux 8
To uninstall only the uchardet
package we can use the following command:
sudo dnf remove uchardet
uchardet Package Contents on Rocky Linux 8
/usr/bin/uchardet
/usr/lib/.build-id
/usr/lib/.build-id/34
/usr/lib/.build-id/34/123c52afaaa802fc6b95d0a1a787b13b4b024b
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/272b768d660728eba1ec4fdf763fb6c26a6ff1
/usr/lib64/libuchardet.so.0
/usr/lib64/libuchardet.so.0.0.6
/usr/share/doc/uchardet
/usr/share/doc/uchardet/AUTHORS
/usr/share/licenses/uchardet
/usr/share/licenses/uchardet/COPYING
/usr/share/man/man1/uchardet.1.gz
References
Summary
In this tutorial we learn how to install uchardet
on Rocky Linux 8 using yum and dnf.