How To Install mingw64-libidn2 on Rocky Linux 8

In this tutorial we learn how to install mingw64-libidn2 on Rocky Linux 8. mingw64-libidn2 is MinGW Windows IDN 2008 library the win64 target

Introduction

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

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

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

sudo dnf -y install mingw64-libidn2

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

sudo yum -y install mingw64-libidn2

How To Uninstall mingw64-libidn2 on Rocky Linux 8

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

sudo dnf remove mingw64-libidn2

mingw64-libidn2 Package Contents on Rocky Linux 8

/usr/share/doc/mingw64-libidn2
/usr/share/doc/mingw64-libidn2/COPYING
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/idn2.exe
/usr/x86_64-w64-mingw32/sys-root/mingw/bin/libidn2-0.dll
/usr/x86_64-w64-mingw32/sys-root/mingw/include/idn2.h
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/libidn2.dll.a
/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig/libidn2.pc

References

Summary

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