How To Install libidn2 on Fedora 36

In this tutorial we learn how to install libidn2 in Fedora 36. libidn2 is Library to support IDNA2008 internationalized domain names

Introduction

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

What is libidn2

Libidn2 is an implementation of the IDNA2008 specifications in RFC 5890, 5891, 5892, 5893 and TR46 for internationalized domain names (IDN). It is a standalone library, without any dependency on libidn.

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

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

sudo dnf -y install libidn2

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

sudo yum -y install libidn2

How To Uninstall libidn2 on Fedora 36

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

sudo dnf remove libidn2

libidn2 Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/70
/usr/lib/.build-id/70/d046ad3fa5f5d2b5400c6df5ac01584e1e7194
/usr/lib64/libidn2.so.0
/usr/lib64/libidn2.so.0.3.7
/usr/share/doc/libidn2
/usr/share/doc/libidn2/AUTHORS
/usr/share/doc/libidn2/NEWS
/usr/share/doc/libidn2/README.md
/usr/share/licenses/libidn2
/usr/share/licenses/libidn2/COPYING
/usr/share/licenses/libidn2/COPYING.LESSERv3
/usr/share/licenses/libidn2/COPYING.unicode
/usr/share/licenses/libidn2/COPYINGv2
/usr/share/locale/cs/LC_MESSAGES/libidn2.mo
/usr/share/locale/da/LC_MESSAGES/libidn2.mo
/usr/share/locale/de/LC_MESSAGES/libidn2.mo
/usr/share/locale/eo/LC_MESSAGES/libidn2.mo
/usr/share/locale/es/LC_MESSAGES/libidn2.mo
/usr/share/locale/fi/LC_MESSAGES/libidn2.mo
/usr/share/locale/fr/LC_MESSAGES/libidn2.mo
/usr/share/locale/fur/LC_MESSAGES/libidn2.mo
/usr/share/locale/hr/LC_MESSAGES/libidn2.mo
/usr/share/locale/hu/LC_MESSAGES/libidn2.mo
/usr/share/locale/id/LC_MESSAGES/libidn2.mo
/usr/share/locale/it/LC_MESSAGES/libidn2.mo
/usr/share/locale/ja/LC_MESSAGES/libidn2.mo
/usr/share/locale/nl/LC_MESSAGES/libidn2.mo
/usr/share/locale/pl/LC_MESSAGES/libidn2.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libidn2.mo
/usr/share/locale/ro/LC_MESSAGES/libidn2.mo
/usr/share/locale/ru/LC_MESSAGES/libidn2.mo
/usr/share/locale/sr/LC_MESSAGES/libidn2.mo
/usr/share/locale/sv/LC_MESSAGES/libidn2.mo
/usr/share/locale/uk/LC_MESSAGES/libidn2.mo
/usr/share/locale/vi/LC_MESSAGES/libidn2.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libidn2.mo

References

Summary

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