How To Install libidn2-devel on Fedora 36

In this tutorial we learn how to install libidn2-devel in Fedora 36. libidn2-devel is Development files for libidn2

Introduction

In this tutorial we learn how to install libidn2-devel on Fedora 36.

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

Install libidn2-devel on Fedora 36 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 Fedora 36 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 Fedora 36

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

sudo dnf remove libidn2-devel

libidn2-devel Package Contents on Fedora 36

---
title: "How To Install libidn2-devel on Fedora 36"
linkTitle: "libidn2-devel"
type: "docs"
description: "In this tutorial we learn how to install libidn2-devel in Fedora 36. libidn2-devel is Development files for libidn2"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/libidn2-devel-featured.png
---

## Introduction

In this tutorial we learn how to install `libidn2-devel` on Fedora 36.

### 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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libidn2-devel.

## Install libidn2-devel on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
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 Fedora 36 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 Fedora 36

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

sudo dnf remove libidn2-devel

libidn2-devel Package Contents on Fedora 36

/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-0.1.html
/usr/share/gtk-doc/html/libidn2/api-index-2.0.0.html
/usr/share/gtk-doc/html/libidn2/api-index-2.1.1.html
/usr/share/gtk-doc/html/libidn2/api-index-deprecated.html
/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.h.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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/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-0.1.html /usr/share/gtk-doc/html/libidn2/api-index-2.0.0.html /usr/share/gtk-doc/html/libidn2/api-index-2.1.1.html /usr/share/gtk-doc/html/libidn2/api-index-deprecated.html /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.h.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

* [libidn2-devel website](https://www.gnu.org/software/libidn/#libidn2)

## Summary

In this tutorial we learn how to install `libidn2-devel` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).