How To Install libidn2 on Rocky Linux 8

In this tutorial we learn how to install libidn2 on Rocky Linux 8. libidn2 is Library to support IDNA2008 internationalized domain names

Introduction

In this tutorial we learn how to install libidn2 on Rocky Linux 8.

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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libidn2.

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

sudo dnf -y install libidn2

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

sudo yum -y install libidn2

How To Uninstall libidn2 on Rocky Linux 8

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

sudo dnf remove libidn2

libidn2 Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/20
/usr/lib/.build-id/20/84139699574a5705e92ce89a3cd5cc18ee316b
/usr/lib64/libidn2.so.0
/usr/lib64/libidn2.so.0.3.6
/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
/usr/lib/.build-id
/usr/lib/.build-id/82
/usr/lib/.build-id/82/d439f6b6b732e3f8c75cc83903720cce23708e
/usr/lib/libidn2.so.0
/usr/lib/libidn2.so.0.3.6
/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 Rocky Linux 8 using yum and dnf.