How To Install libmaxminddb on Fedora 34

libmaxminddb is C library for the MaxMind DB file format C library for the MaxMind DB file format

Introduction

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

What is libmaxminddb

The package contains libmaxminddb library. libmaxminddb 1.5.2 1.fc34 x86_64 33 k libmaxminddb-1.5.2-1.fc34.src.rpm fedora C library for the MaxMind DB file format https ASL 2.0 and BSD The package contains libmaxminddb library.

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

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

sudo dnf -y install libmaxminddb

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

sudo yum -y install libmaxminddb

How To Uninstall libmaxminddb on Fedora 34

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

sudo dnf remove libmaxminddb

libmaxminddb Package Contents on Fedora 34

/usr/bin/mmdblookup
/usr/lib/.build-id
/usr/lib/.build-id/12
/usr/lib/.build-id/12/9606f92b03146ab1722b5870f1726281cb4250
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/37a7ee9190c96dc4f2025a62e6122de93da034
/usr/lib64/libmaxminddb.so.0
/usr/lib64/libmaxminddb.so.0.0.7
/usr/share/licenses/libmaxminddb
/usr/share/licenses/libmaxminddb/LICENSE
/usr/share/man/man1/mmdblookup.1.gz
/usr/bin/mmdblookup
/usr/lib/.build-id
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/eef011a6e437f5971fdec579f9747c88d0390a
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/23a1860922decc2012901b2d2298d7f6b1f60f
/usr/lib/libmaxminddb.so.0
/usr/lib/libmaxminddb.so.0.0.7
/usr/share/licenses/libmaxminddb
/usr/share/licenses/libmaxminddb/LICENSE
/usr/share/man/man1/mmdblookup.1.gz

References

Summary

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