How To Install libHX on Fedora 34
Introduction
In this tutorial we learn how to install libHX
on Fedora 34.
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. libHX 3.22 14.fc34 x86_64 67 k libHX-3.22-14.fc34.src.rpm fedora Useful collection of routines for C and C++ programming http LGPLv2 or LGPLv3 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libHX.
Install libHX on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libHX
using dnf
by running the following command:
sudo dnf -y install libHX
Install libHX on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libHX
using yum
by running the following command:
sudo yum -y install libHX
How To Uninstall libHX on Fedora 34
To uninstall only the libHX
package we can use the following command:
sudo dnf remove libHX
libHX Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/f52826014e2cfa884f4ce3817498331a860848
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/28bb71b15de1d07424e0347f3330c0bf925cac
/usr/lib64/libHX.so.28
/usr/lib64/libHX.so.28.3.0
/usr/lib64/libHX_rtcheck.so
/usr/share/licenses/libHX
/usr/share/licenses/libHX/LICENSE.GPL3
/usr/share/licenses/libHX/LICENSE.LGPL2
/usr/share/licenses/libHX/LICENSE.LGPL3
/usr/lib/.build-id
/usr/lib/.build-id/58
/usr/lib/.build-id/58/1f97d09062ff0127fd5ddd8109fda37da56387
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/07b98e94b2f2140a90db55072cf19f7a0c2dc5
/usr/lib/libHX.so.28
/usr/lib/libHX.so.28.3.0
/usr/lib/libHX_rtcheck.so
/usr/share/licenses/libHX
/usr/share/licenses/libHX/LICENSE.GPL3
/usr/share/licenses/libHX/LICENSE.LGPL2
/usr/share/licenses/libHX/LICENSE.LGPL3
References
Summary
In this tutorial we learn how to install libHX
on Fedora 34 using yum and dnf.