How To Install juniversalchardet on Fedora 36

In this tutorial we learn how to install juniversalchardet in Fedora 36. juniversalchardet is Java character encoding detection

Introduction

In this tutorial we learn how to install juniversalchardet on Fedora 36.

What is juniversalchardet

Juniversalchardet is a Java port of universalchardet, that is, the encoding detector library of Mozilla.

We can use yum or dnf to install juniversalchardet on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install juniversalchardet.

Install juniversalchardet on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install juniversalchardet using dnf by running the following command:

sudo dnf -y install juniversalchardet

Install juniversalchardet on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install juniversalchardet using yum by running the following command:

sudo yum -y install juniversalchardet

How To Uninstall juniversalchardet on Fedora 36

To uninstall only the juniversalchardet package we can use the following command:

sudo dnf remove juniversalchardet

juniversalchardet Package Contents on Fedora 36

/usr/share/doc/juniversalchardet
/usr/share/doc/juniversalchardet/README.md
/usr/share/doc/juniversalchardet/mozilla_repositories.txt
/usr/share/java/juniversalchardet
/usr/share/java/juniversalchardet/juniversalchardet.jar
/usr/share/licenses/juniversalchardet
/usr/share/licenses/juniversalchardet/LICENSE
/usr/share/maven-metadata/juniversalchardet.xml
/usr/share/maven-poms/juniversalchardet
/usr/share/maven-poms/juniversalchardet/juniversalchardet.pom

References

Summary

In this tutorial we learn how to install juniversalchardet on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).