How To Install libidn2 on Fedora 34

libidn2 is Library to support IDNA2008 internationalized domain names Library to support IDNA2008 internationalized domain names Library to support IDNA2008 internationalized domain names

Introduction

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

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. libidn2 2.3.2 1.fc34 i686 104 k libidn2-2.3.2-1.fc34.src.rpm updates Library to support IDNA2008 internationalized domain names https (GPLv2+ or LGPLv3+) and GPLv3+ 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. libidn2 2.3.2 1.fc34 x86_64 103 k libidn2-2.3.2-1.fc34.src.rpm updates Library to support IDNA2008 internationalized domain names https (GPLv2+ or LGPLv3+) and GPLv3+ 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install libidn2.

Install libidn2 on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install libidn2 using dnf by running the following command:

sudo dnf -y install libidn2

Install libidn2 on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 34

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

sudo dnf remove libidn2

libidn2 Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/7f9132356503ff80a4df08b0a57509d0f0961f
/usr/lib/libidn2.so.0
/usr/lib/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
/usr/lib/.build-id
/usr/lib/.build-id/69
/usr/lib/.build-id/69/04bc84d58f579c58031eaa9d1c5d18674cd4c6
/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
/usr/lib/.build-id
/usr/lib/.build-id/77
/usr/lib/.build-id/77/00772697fd3a917025221755e39d9739c89d14
/usr/lib/libidn2.so.0
/usr/lib/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
/usr/lib/.build-id
/usr/lib/.build-id/82
/usr/lib/.build-id/82/be8f312b15c6367c9aed19c2b06c780657ee1a
/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 34 using yum and dnf.