How To Install libgenht on Fedora 34

libgenht is Simple generic hash table implementation in C Simple generic hash table implementation in C

Introduction

In this tutorial we learn how to install libgenht on Fedora 34.

What is libgenht

genht is a simple generic hash table implementation in C. Uses open addressing scheme with space doubling. Type generics is achieved by ugly name prefixing macros. libgenht 1.0.1 8.fc34 x86_64 19 k libgenht-1.0.1-8.fc34.src.rpm fedora Simple generic hash table implementation in C http Public Domain genht is a simple generic hash table implementation in C. Uses open addressing scheme with space doubling. Type generics is achieved by ugly name prefixing macros.

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

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

sudo dnf -y install libgenht

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

sudo yum -y install libgenht

How To Uninstall libgenht on Fedora 34

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

sudo dnf remove libgenht

libgenht Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/a8e8a21c6f79f850d802e891a6f40cc482380d
/usr/lib64/libgenht.so.1
/usr/lib64/libgenht.so.1.0.1
/usr/share/doc/libgenht
/usr/share/doc/libgenht/AUTHORS
/usr/share/licenses/libgenht
/usr/share/licenses/libgenht/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/87d3bc73cb15a10eb50214ba0e73f44ce99370
/usr/lib/libgenht.so.1
/usr/lib/libgenht.so.1.0.1
/usr/share/doc/libgenht
/usr/share/doc/libgenht/AUTHORS
/usr/share/licenses/libgenht
/usr/share/licenses/libgenht/LICENSE

References

Summary

In this tutorial we learn how to install libgenht on Fedora 34 using yum and dnf.