How To Install libmaxminddb on Fedora 36

In this tutorial we learn how to install libmaxminddb in Fedora 36. libmaxminddb is C library for the MaxMind DB file format

Introduction

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

What is libmaxminddb

The package contains libmaxminddb library.

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

Install libmaxminddb on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libmaxminddb using dnf by running the following command:

sudo dnf -y install libmaxminddb

Install libmaxminddb on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 36

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

sudo dnf remove libmaxminddb

libmaxminddb Package Contents on Fedora 36

/usr/bin/mmdblookup
/usr/lib/.build-id
/usr/lib/.build-id/72
/usr/lib/.build-id/72/2f8f5c7b7a705736c6b43c957547367b99aaed
/usr/lib/.build-id/ec
/usr/lib/.build-id/ec/8a85faf176bff29da68d04d05b70834d63b559
/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

References

Summary

In this tutorial we learn how to install libmaxminddb on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).