How To Install libidn-java on Fedora 36

In this tutorial we learn how to install libidn-java in Fedora 36. libidn-java is Java port of the GNU Libidn library

Introduction

In this tutorial we learn how to install libidn-java on Fedora 36.

What is libidn-java

GNU Libidn is a fully documented implementation of the Stringprep, Punycode and IDNA specifications. Libidn’s purpose is to encode and decode internationalized domain names. This package contains the native Java port of the library.

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

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

sudo dnf -y install libidn-java

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

sudo yum -y install libidn-java

How To Uninstall libidn-java on Fedora 36

To uninstall only the libidn-java package we can use the following command:

sudo dnf remove libidn-java

libidn-java Package Contents on Fedora 36

/usr/share/java/libidn.jar
/usr/share/licenses/libidn-java
/usr/share/licenses/libidn-java/COPYING
/usr/share/licenses/libidn-java/COPYING.LESSERv2
/usr/share/licenses/libidn-java/COPYING.LESSERv3
/usr/share/licenses/libidn-java/COPYINGv2
/usr/share/licenses/libidn-java/COPYINGv3
/usr/share/licenses/libidn-java/LICENSE-2.0.txt
/usr/share/maven-metadata/libidn.xml
/usr/share/maven-poms/libidn.pom

References

Summary

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