How To Install libidn2-devel on Rocky Linux 8

In this tutorial we learn how to install libidn2-devel on Rocky Linux 8. libidn2-devel is Development files for libidn2

Introduction

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

What is libidn2-devel

The libidn2-devel package contains libraries and header files for developing applications that use libidn2.

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

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

sudo dnf -y install libidn2-devel

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

sudo yum -y install libidn2-devel

How To Uninstall libidn2-devel on Rocky Linux 8

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

sudo dnf remove libidn2-devel

libidn2-devel Package Contents on Rocky Linux 8

/usr/include/idn2.h
/usr/lib/libidn2.so
/usr/lib/pkgconfig/libidn2.pc
/usr/share/doc/libidn2-devel
/usr/share/doc/libidn2-devel/examples
/usr/share/doc/libidn2-devel/examples/decode.c
/usr/share/doc/libidn2-devel/examples/example-toascii.c
/usr/share/doc/libidn2-devel/examples/example-tounicode.c
/usr/share/doc/libidn2-devel/examples/lookup.c
/usr/share/doc/libidn2-devel/examples/register.c
/usr/share/doc/libidn2-devel/libidn2.html
/usr/share/gtk-doc
/usr/share/gtk-doc/html
/usr/share/gtk-doc/html/libidn2
/usr/share/gtk-doc/html/libidn2/api-index-full.html
/usr/share/gtk-doc/html/libidn2/home.png
/usr/share/gtk-doc/html/libidn2/index.html
/usr/share/gtk-doc/html/libidn2/left-insensitive.png
/usr/share/gtk-doc/html/libidn2/left.png
/usr/share/gtk-doc/html/libidn2/libidn2-idn2.html
/usr/share/gtk-doc/html/libidn2/libidn2.devhelp2
/usr/share/gtk-doc/html/libidn2/libidn2.html
/usr/share/gtk-doc/html/libidn2/right-insensitive.png
/usr/share/gtk-doc/html/libidn2/right.png
/usr/share/gtk-doc/html/libidn2/style.css
/usr/share/gtk-doc/html/libidn2/up-insensitive.png
/usr/share/gtk-doc/html/libidn2/up.png
/usr/share/man/man3/idn2_check_version.3.gz
/usr/share/man/man3/idn2_free.3.gz
/usr/share/man/man3/idn2_lookup_u8.3.gz
/usr/share/man/man3/idn2_lookup_ul.3.gz
/usr/share/man/man3/idn2_register_u8.3.gz
/usr/share/man/man3/idn2_register_ul.3.gz
/usr/share/man/man3/idn2_strerror.3.gz
/usr/share/man/man3/idn2_strerror_name.3.gz
/usr/share/man/man3/idn2_to_ascii_4i.3.gz
/usr/share/man/man3/idn2_to_ascii_4i2.3.gz
/usr/share/man/man3/idn2_to_ascii_4z.3.gz
/usr/share/man/man3/idn2_to_ascii_8z.3.gz
/usr/share/man/man3/idn2_to_ascii_lz.3.gz
/usr/share/man/man3/idn2_to_unicode_44i.3.gz
/usr/share/man/man3/idn2_to_unicode_4z4z.3.gz
/usr/share/man/man3/idn2_to_unicode_8z4z.3.gz
/usr/share/man/man3/idn2_to_unicode_8z8z.3.gz
/usr/share/man/man3/idn2_to_unicode_8zlz.3.gz
/usr/share/man/man3/idn2_to_unicode_lzlz.3.gz
/usr/include/idn2.h
/usr/lib64/libidn2.so
/usr/lib64/pkgconfig/libidn2.pc
/usr/share/doc/libidn2-devel
/usr/share/doc/libidn2-devel/examples
/usr/share/doc/libidn2-devel/examples/decode.c
/usr/share/doc/libidn2-devel/examples/example-toascii.c
/usr/share/doc/libidn2-devel/examples/example-tounicode.c
/usr/share/doc/libidn2-devel/examples/lookup.c
/usr/share/doc/libidn2-devel/examples/register.c
/usr/share/doc/libidn2-devel/libidn2.html
/usr/share/gtk-doc
/usr/share/gtk-doc/html
/usr/share/gtk-doc/html/libidn2
/usr/share/gtk-doc/html/libidn2/api-index-full.html
/usr/share/gtk-doc/html/libidn2/home.png
/usr/share/gtk-doc/html/libidn2/index.html
/usr/share/gtk-doc/html/libidn2/left-insensitive.png
/usr/share/gtk-doc/html/libidn2/left.png
/usr/share/gtk-doc/html/libidn2/libidn2-idn2.html
/usr/share/gtk-doc/html/libidn2/libidn2.devhelp2
/usr/share/gtk-doc/html/libidn2/libidn2.html
/usr/share/gtk-doc/html/libidn2/right-insensitive.png
/usr/share/gtk-doc/html/libidn2/right.png
/usr/share/gtk-doc/html/libidn2/style.css
/usr/share/gtk-doc/html/libidn2/up-insensitive.png
/usr/share/gtk-doc/html/libidn2/up.png
/usr/share/man/man3/idn2_check_version.3.gz
/usr/share/man/man3/idn2_free.3.gz
/usr/share/man/man3/idn2_lookup_u8.3.gz
/usr/share/man/man3/idn2_lookup_ul.3.gz
/usr/share/man/man3/idn2_register_u8.3.gz
/usr/share/man/man3/idn2_register_ul.3.gz
/usr/share/man/man3/idn2_strerror.3.gz
/usr/share/man/man3/idn2_strerror_name.3.gz
/usr/share/man/man3/idn2_to_ascii_4i.3.gz
/usr/share/man/man3/idn2_to_ascii_4i2.3.gz
/usr/share/man/man3/idn2_to_ascii_4z.3.gz
/usr/share/man/man3/idn2_to_ascii_8z.3.gz
/usr/share/man/man3/idn2_to_ascii_lz.3.gz
/usr/share/man/man3/idn2_to_unicode_44i.3.gz
/usr/share/man/man3/idn2_to_unicode_4z4z.3.gz
/usr/share/man/man3/idn2_to_unicode_8z4z.3.gz
/usr/share/man/man3/idn2_to_unicode_8z8z.3.gz
/usr/share/man/man3/idn2_to_unicode_8zlz.3.gz
/usr/share/man/man3/idn2_to_unicode_lzlz.3.gz

References

Summary

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