How To Install libHX on CentOS 7
Introduction
In this tutorial we learn how to install libHX
on CentOS 7.
What is libHX
libHX is a C library (with some C++ bindings available) that provides data structures and functions commonly needed, such as maps, deques, linked lists, string formatting and autoresizing, option and config file parsing, type checking casts and more. libHX aids in quickly writing up C and C++ data processing programs, by consolidating tasks that often happen to be open-coded, such as (simple) config file reading, option parsing, directory traversal, and others, into a library. The focus is on reducing the amount of time (and secondarily, the amount of code) a developer has to spend for otherwise implementing such.
We can use yum
or dnf
to install libHX
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install libHX.
Install libHX on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install libHX
using yum
by running the following command:
Install libHX on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install libHX
using dnf
by running the following command:
How To Uninstall libHX on CentOS 7
To uninstall only the libHX
package we can use the following command:
References
Summary
In this tutorial we learn how to install libHX
on CentOS 7 using yum
and dnf
.