How To Install libidn on Rocky Linux 8

In this tutorial we learn how to install libidn on Rocky Linux 8. libidn is Internationalized Domain Name support library

Introduction

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

What is libidn

GNU Libidn is an implementation of the Stringprep, Punycode and IDNA specifications defined by the IETF Internationalized Domain Names (IDN) working group, used for internationalized domain names.

We can use yum or dnf to install libidn on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libidn.

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

sudo dnf -y install libidn

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

sudo yum -y install libidn

How To Uninstall libidn on Rocky Linux 8

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

sudo dnf remove libidn

libidn Package Contents on Rocky Linux 8

/usr/bin/idn
/usr/lib/.build-id
/usr/lib/.build-id/69
/usr/lib/.build-id/69/9181966a21746be8a2a4591cd4055c7cf821f1
/usr/lib/.build-id/97
/usr/lib/.build-id/97/23c2e2678b49b9b0904919c3964ebed1bccf74
/usr/lib64/libidn.so.11
/usr/lib64/libidn.so.11.6.18
/usr/share/doc/libidn
/usr/share/doc/libidn/AUTHORS
/usr/share/doc/libidn/FAQ
/usr/share/doc/libidn/NEWS
/usr/share/doc/libidn/README
/usr/share/doc/libidn/THANKS
/usr/share/emacs/site-lisp/libidn
/usr/share/emacs/site-lisp/libidn/idna.el
/usr/share/emacs/site-lisp/libidn/idna.elc
/usr/share/emacs/site-lisp/libidn/punycode.el
/usr/share/emacs/site-lisp/libidn/punycode.elc
/usr/share/info/libidn.info.gz
/usr/share/licenses/libidn
/usr/share/licenses/libidn/COPYING
/usr/share/licenses/libidn/COPYING.LESSERv2
/usr/share/licenses/libidn/COPYING.LESSERv3
/usr/share/licenses/libidn/COPYINGv2
/usr/share/licenses/libidn/COPYINGv3
/usr/share/locale/cs/LC_MESSAGES/libidn.mo
/usr/share/locale/da/LC_MESSAGES/libidn.mo
/usr/share/locale/de/LC_MESSAGES/libidn.mo
/usr/share/locale/en@boldquot/LC_MESSAGES/libidn.mo
/usr/share/locale/en@quot/LC_MESSAGES/libidn.mo
/usr/share/locale/eo/LC_MESSAGES/libidn.mo
/usr/share/locale/fi/LC_MESSAGES/libidn.mo
/usr/share/locale/fr/LC_MESSAGES/libidn.mo
/usr/share/locale/hr/LC_MESSAGES/libidn.mo
/usr/share/locale/hu/LC_MESSAGES/libidn.mo
/usr/share/locale/id/LC_MESSAGES/libidn.mo
/usr/share/locale/it/LC_MESSAGES/libidn.mo
/usr/share/locale/ja/LC_MESSAGES/libidn.mo
/usr/share/locale/nl/LC_MESSAGES/libidn.mo
/usr/share/locale/pl/LC_MESSAGES/libidn.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libidn.mo
/usr/share/locale/ro/LC_MESSAGES/libidn.mo
/usr/share/locale/sr/LC_MESSAGES/libidn.mo
/usr/share/locale/sv/LC_MESSAGES/libidn.mo
/usr/share/locale/uk/LC_MESSAGES/libidn.mo
/usr/share/locale/vi/LC_MESSAGES/libidn.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libidn.mo
/usr/share/man/man1/idn.1.gz
/usr/bin/idn
/usr/lib/.build-id
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/2ca3468d9c57ca979d7d334c7f73c5eb4a0b6a
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/3d6b0d30f5a42ed3cf823c41d147bbd59b156c
/usr/lib/libidn.so.11
/usr/lib/libidn.so.11.6.18
/usr/share/doc/libidn
/usr/share/doc/libidn/AUTHORS
/usr/share/doc/libidn/FAQ
/usr/share/doc/libidn/NEWS
/usr/share/doc/libidn/README
/usr/share/doc/libidn/THANKS
/usr/share/emacs/site-lisp/libidn
/usr/share/emacs/site-lisp/libidn/idna.el
/usr/share/emacs/site-lisp/libidn/idna.elc
/usr/share/emacs/site-lisp/libidn/punycode.el
/usr/share/emacs/site-lisp/libidn/punycode.elc
/usr/share/info/libidn.info.gz
/usr/share/licenses/libidn
/usr/share/licenses/libidn/COPYING
/usr/share/licenses/libidn/COPYING.LESSERv2
/usr/share/licenses/libidn/COPYING.LESSERv3
/usr/share/licenses/libidn/COPYINGv2
/usr/share/licenses/libidn/COPYINGv3
/usr/share/locale/cs/LC_MESSAGES/libidn.mo
/usr/share/locale/da/LC_MESSAGES/libidn.mo
/usr/share/locale/de/LC_MESSAGES/libidn.mo
/usr/share/locale/en@boldquot/LC_MESSAGES/libidn.mo
/usr/share/locale/en@quot/LC_MESSAGES/libidn.mo
/usr/share/locale/eo/LC_MESSAGES/libidn.mo
/usr/share/locale/fi/LC_MESSAGES/libidn.mo
/usr/share/locale/fr/LC_MESSAGES/libidn.mo
/usr/share/locale/hr/LC_MESSAGES/libidn.mo
/usr/share/locale/hu/LC_MESSAGES/libidn.mo
/usr/share/locale/id/LC_MESSAGES/libidn.mo
/usr/share/locale/it/LC_MESSAGES/libidn.mo
/usr/share/locale/ja/LC_MESSAGES/libidn.mo
/usr/share/locale/nl/LC_MESSAGES/libidn.mo
/usr/share/locale/pl/LC_MESSAGES/libidn.mo
/usr/share/locale/pt_BR/LC_MESSAGES/libidn.mo
/usr/share/locale/ro/LC_MESSAGES/libidn.mo
/usr/share/locale/sr/LC_MESSAGES/libidn.mo
/usr/share/locale/sv/LC_MESSAGES/libidn.mo
/usr/share/locale/uk/LC_MESSAGES/libidn.mo
/usr/share/locale/vi/LC_MESSAGES/libidn.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libidn.mo
/usr/share/man/man1/idn.1.gz

References

Summary

In this tutorial we learn how to install libidn on Rocky Linux 8 using yum and dnf.