How To Install libconfig on Fedora 36

In this tutorial we learn how to install libconfig in Fedora 36. libconfig is C/C++ configuration file library

Introduction

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

What is libconfig

Libconfig is a simple library for manipulating structured configuration files. This file format is more compact and more readable than XML. And unlike XML, it is type-aware, so it is not necessary to do string parsing in application code.

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

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

sudo dnf -y install libconfig

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

sudo yum -y install libconfig

How To Uninstall libconfig on Fedora 36

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

sudo dnf remove libconfig

libconfig Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/feed61e1372676474016de42c14cf596504dab
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/34482e6187c60c1361cdbda11829f0be3317bc
/usr/lib/libconfig++.so.11
/usr/lib/libconfig++.so.11.1.0
/usr/lib/libconfig.so.11
/usr/lib/libconfig.so.11.1.0
/usr/share/doc/libconfig
/usr/share/doc/libconfig/AUTHORS
/usr/share/doc/libconfig/ChangeLog
/usr/share/doc/libconfig/README
/usr/share/licenses/libconfig
/usr/share/licenses/libconfig/COPYING.LIB

References

Summary

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


title: “How To Install libconfig on Fedora 36” linkTitle: “libconfig” type: “docs” description: “In this tutorial we learn how to install libconfig in Fedora 36. libconfig is C/C++ configuration file library” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libconfig-featured.png

Introduction

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

What is libconfig

Libconfig is a simple library for manipulating structured configuration files. This file format is more compact and more readable than XML. And unlike XML, it is type-aware, so it is not necessary to do string parsing in application code.

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

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

sudo dnf -y install libconfig

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

sudo yum -y install libconfig

How To Uninstall libconfig on Fedora 36

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

sudo dnf remove libconfig

libconfig Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/4a22881b192a015c329732f678b22285f4a7d2
/usr/lib/.build-id/0e
/usr/lib/.build-id/0e/872f1c3e922e69de5dca2bf9c2b8a0b03ffef3
/usr/lib64/libconfig++.so.11
/usr/lib64/libconfig++.so.11.1.0
/usr/lib64/libconfig.so.11
/usr/lib64/libconfig.so.11.1.0
/usr/share/doc/libconfig
/usr/share/doc/libconfig/AUTHORS
/usr/share/doc/libconfig/ChangeLog
/usr/share/doc/libconfig/README
/usr/share/licenses/libconfig
/usr/share/licenses/libconfig/COPYING.LIB

References

Summary

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