How To Install libconfuse on Rocky Linux 8

In this tutorial we learn how to install libconfuse on Rocky Linux 8. libconfuse is A configuration file parser library

Introduction

In this tutorial we learn how to install libconfuse on Rocky Linux 8.

What is libconfuse

libConfuse is a configuration file parser library, licensed under the terms of the ISC license, and written in C. It supports sections and (lists of) values (strings, integers, floats, booleans or other sections), as well as some other features (such as single/double-quoted strings, environment variable expansion, functions and nested include statements). It makes it very easy to add configuration file capability to a program using a simple API. The goal of libConfuse is not to be the configuration file parser library with a gazillion of features. Instead, it aims to be easy to use and quick to integrate with your code.

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

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

sudo dnf -y install libconfuse

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

sudo yum -y install libconfuse

How To Uninstall libconfuse on Rocky Linux 8

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

sudo dnf remove libconfuse

libconfuse Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/2fe0927dc734ee5dbf51eccb308fdb1258849f
/usr/lib64/libconfuse.so.2
/usr/lib64/libconfuse.so.2.1.0
/usr/share/doc/libconfuse
/usr/share/doc/libconfuse/AUTHORS
/usr/share/doc/libconfuse/README.md
/usr/share/doc/libconfuse/html
/usr/share/doc/libconfuse/html/annotated.html
/usr/share/doc/libconfuse/html/bc_s.png
/usr/share/doc/libconfuse/html/bdwn.png
/usr/share/doc/libconfuse/html/classes.html
/usr/share/doc/libconfuse/html/closed.png
/usr/share/doc/libconfuse/html/confuse_8h.html
/usr/share/doc/libconfuse/html/confuse_8h_source.html
/usr/share/doc/libconfuse/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html
/usr/share/doc/libconfuse/html/doc.png
/usr/share/doc/libconfuse/html/doxygen.css
/usr/share/doc/libconfuse/html/doxygen.png
/usr/share/doc/libconfuse/html/dynsections.js
/usr/share/doc/libconfuse/html/examples.html
/usr/share/doc/libconfuse/html/files.html
/usr/share/doc/libconfuse/html/folderclosed.png
/usr/share/doc/libconfuse/html/folderopen.png
/usr/share/doc/libconfuse/html/ftpconf_8c-example.html
/usr/share/doc/libconfuse/html/functions.html
/usr/share/doc/libconfuse/html/functions_vars.html
/usr/share/doc/libconfuse/html/globals.html
/usr/share/doc/libconfuse/html/globals_defs.html
/usr/share/doc/libconfuse/html/globals_enum.html
/usr/share/doc/libconfuse/html/globals_eval.html
/usr/share/doc/libconfuse/html/globals_func.html
/usr/share/doc/libconfuse/html/globals_type.html
/usr/share/doc/libconfuse/html/index.html
/usr/share/doc/libconfuse/html/jquery.js
/usr/share/doc/libconfuse/html/menu.js
/usr/share/doc/libconfuse/html/menudata.js
/usr/share/doc/libconfuse/html/nav_f.png
/usr/share/doc/libconfuse/html/nav_g.png
/usr/share/doc/libconfuse/html/nav_h.png
/usr/share/doc/libconfuse/html/open.png
/usr/share/doc/libconfuse/html/reread_8c-example.html
/usr/share/doc/libconfuse/html/search
/usr/share/doc/libconfuse/html/search/all_0.html
/usr/share/doc/libconfuse/html/search/all_0.js
/usr/share/doc/libconfuse/html/search/all_1.html
/usr/share/doc/libconfuse/html/search/all_1.js
/usr/share/doc/libconfuse/html/search/all_2.html
/usr/share/doc/libconfuse/html/search/all_2.js
/usr/share/doc/libconfuse/html/search/all_3.html
/usr/share/doc/libconfuse/html/search/all_3.js
/usr/share/doc/libconfuse/html/search/all_4.html
/usr/share/doc/libconfuse/html/search/all_4.js
/usr/share/doc/libconfuse/html/search/all_5.html
/usr/share/doc/libconfuse/html/search/all_5.js
/usr/share/doc/libconfuse/html/search/all_6.html
/usr/share/doc/libconfuse/html/search/all_6.js
/usr/share/doc/libconfuse/html/search/all_7.html
/usr/share/doc/libconfuse/html/search/all_7.js
/usr/share/doc/libconfuse/html/search/all_8.html
/usr/share/doc/libconfuse/html/search/all_8.js
/usr/share/doc/libconfuse/html/search/all_9.html
/usr/share/doc/libconfuse/html/search/all_9.js
/usr/share/doc/libconfuse/html/search/all_a.html
/usr/share/doc/libconfuse/html/search/all_a.js
/usr/share/doc/libconfuse/html/search/all_b.html
/usr/share/doc/libconfuse/html/search/all_b.js
/usr/share/doc/libconfuse/html/search/classes_0.html
/usr/share/doc/libconfuse/html/search/classes_0.js
/usr/share/doc/libconfuse/html/search/close.png
/usr/share/doc/libconfuse/html/search/defines_0.html
/usr/share/doc/libconfuse/html/search/defines_0.js
/usr/share/doc/libconfuse/html/search/enums_0.html
/usr/share/doc/libconfuse/html/search/enums_0.js
/usr/share/doc/libconfuse/html/search/enumvalues_0.html
/usr/share/doc/libconfuse/html/search/enumvalues_0.js
/usr/share/doc/libconfuse/html/search/files_0.html
/usr/share/doc/libconfuse/html/search/files_0.js
/usr/share/doc/libconfuse/html/search/functions_0.html
/usr/share/doc/libconfuse/html/search/functions_0.js
/usr/share/doc/libconfuse/html/search/mag_sel.png
/usr/share/doc/libconfuse/html/search/nomatches.html
/usr/share/doc/libconfuse/html/search/pages_0.html
/usr/share/doc/libconfuse/html/search/pages_0.js
/usr/share/doc/libconfuse/html/search/search.css
/usr/share/doc/libconfuse/html/search/search.js
/usr/share/doc/libconfuse/html/search/search_l.png
/usr/share/doc/libconfuse/html/search/search_m.png
/usr/share/doc/libconfuse/html/search/search_r.png
/usr/share/doc/libconfuse/html/search/searchdata.js
/usr/share/doc/libconfuse/html/search/typedefs_0.html
/usr/share/doc/libconfuse/html/search/typedefs_0.js
/usr/share/doc/libconfuse/html/search/variables_0.html
/usr/share/doc/libconfuse/html/search/variables_0.js
/usr/share/doc/libconfuse/html/search/variables_1.html
/usr/share/doc/libconfuse/html/search/variables_1.js
/usr/share/doc/libconfuse/html/search/variables_2.html
/usr/share/doc/libconfuse/html/search/variables_2.js
/usr/share/doc/libconfuse/html/search/variables_3.html
/usr/share/doc/libconfuse/html/search/variables_3.js
/usr/share/doc/libconfuse/html/search/variables_4.html
/usr/share/doc/libconfuse/html/search/variables_4.js
/usr/share/doc/libconfuse/html/search/variables_5.html
/usr/share/doc/libconfuse/html/search/variables_5.js
/usr/share/doc/libconfuse/html/search/variables_6.html
/usr/share/doc/libconfuse/html/search/variables_6.js
/usr/share/doc/libconfuse/html/search/variables_7.html
/usr/share/doc/libconfuse/html/search/variables_7.js
/usr/share/doc/libconfuse/html/search/variables_8.html
/usr/share/doc/libconfuse/html/search/variables_8.js
/usr/share/doc/libconfuse/html/search/variables_9.html
/usr/share/doc/libconfuse/html/search/variables_9.js
/usr/share/doc/libconfuse/html/search/variables_a.html
/usr/share/doc/libconfuse/html/search/variables_a.js
/usr/share/doc/libconfuse/html/search/variables_b.html
/usr/share/doc/libconfuse/html/search/variables_b.js
/usr/share/doc/libconfuse/html/simple_8c-example.html
/usr/share/doc/libconfuse/html/splitbar.png
/usr/share/doc/libconfuse/html/structcfg__defvalue__t.html
/usr/share/doc/libconfuse/html/structcfg__opt__t.html
/usr/share/doc/libconfuse/html/structcfg__t.html
/usr/share/doc/libconfuse/html/sync_off.png
/usr/share/doc/libconfuse/html/sync_on.png
/usr/share/doc/libconfuse/html/tab_a.png
/usr/share/doc/libconfuse/html/tab_b.png
/usr/share/doc/libconfuse/html/tab_h.png
/usr/share/doc/libconfuse/html/tab_s.png
/usr/share/doc/libconfuse/html/tabs.css
/usr/share/doc/libconfuse/html/unioncfg__simple__t.html
/usr/share/doc/libconfuse/html/unioncfg__value__t.html
/usr/share/licenses/libconfuse
/usr/share/licenses/libconfuse/LICENSE
/usr/share/locale/de/LC_MESSAGES/confuse.mo
/usr/share/locale/fr/LC_MESSAGES/confuse.mo
/usr/share/locale/sv/LC_MESSAGES/confuse.mo
/usr/share/man/man3/cfg_defvalue_t.3.gz
/usr/share/man/man3/cfg_opt_t.3.gz
/usr/share/man/man3/cfg_simple_t.3.gz
/usr/share/man/man3/cfg_t.3.gz
/usr/share/man/man3/cfg_value_t.3.gz
/usr/share/man/man3/confuse.h.3.gz

References

Summary

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