如何安装 juniversalchardet Fedora 36

在本教程中,我们学习如何安装 juniversalchardet Fedora 36.jununiversalchardet是Java字符编码检测

介绍

在本教程中我们学习如何安装 juniversalchardet 在 Fedora 36.

什么是 juniversalchardet

Juniversalchardet 是universalchardet(即Mozilla 的编码检测器库)的Java 端口。

我们可以用 yum 或者 dnf 安装 juniversalchardet 在 Fedora 36. 在本教程中,我们讨论这两种方法,但您只需选择其中一种方法来安装 juniversalchardet。

安装 juniversalchardet Fedora 36 使用dnf

更新 yum 数据库 dnf 使用以下命令。

sudo dnf makecache --refresh

更新 yum 数据库后,我们可以安装 juniversalchardet 使用 dnf 通过运行以下命令:

sudo dnf -y install juniversalchardet

安装 juniversalchardet Fedora 36 使用 yum

更新 yum 数据库 yum 使用以下命令。

sudo yum makecache --refresh

更新 yum 数据库后,我们可以安装 juniversalchardet 使用 yum 通过运行以下命令:

sudo yum -y install juniversalchardet

如何卸载 juniversalchardet Fedora 36

仅卸载 juniversalchardet 打包我们可以使用以下命令:

sudo dnf remove juniversalchardet

juniversalchardet 包装内容位于 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

参考

概括

在本教程中我们学习如何安装 juniversalchardet 在 Fedora 36 使用 yum 和 [dnf]((/fedora/36/dnf/)。