How To Install inih on Fedora 36

In this tutorial we learn how to install inih in Fedora 36. inih is Simple INI file parser library

Introduction

In this tutorial we learn how to install inih on Fedora 36.

What is inih

The inih package provides simple INI file parser which is only a couple of pages of code, and it was designed to be small and simple, so it’s good for embedded systems.

We can use yum or dnf to install inih on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install inih.

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

sudo dnf -y install inih

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

sudo yum -y install inih

How To Uninstall inih on Fedora 36

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

sudo dnf remove inih

inih Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/5835512fcd72eac0c3c983cdaa8178450aee6b
/usr/lib/.build-id/59
/usr/lib/.build-id/59/7f09053f7db8154b01fdbe6435d1909e59a4b7
/usr/lib64/libINIReader.so.0
/usr/lib64/libinih.so.0
/usr/share/doc/inih
/usr/share/doc/inih/README.md
/usr/share/licenses/inih
/usr/share/licenses/inih/LICENSE.txt
/usr/lib/.build-id
/usr/lib/.build-id/74
/usr/lib/.build-id/74/50168976a96f95432874b9d0c1541cf05d37ee
/usr/lib64/libinih.so.0
/usr/lib64/libinih.so.49
/usr/share/doc/inih
/usr/share/doc/inih/README.md
/usr/share/licenses/inih
/usr/share/licenses/inih/LICENSE.txt

References

Summary

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