How To Install libmaxminddb-devel on Rocky Linux 8

In this tutorial we learn how to install libmaxminddb-devel on Rocky Linux 8. libmaxminddb-devel is Development header files for libmaxminddb

Introduction

In this tutorial we learn how to install libmaxminddb-devel on Rocky Linux 8.

What is libmaxminddb-devel

The package contains development header files for the libmaxminddb library and the mmdblookup utility which allows IP address lookup in a MaxMind DB file.

We can use yum or dnf to install libmaxminddb-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libmaxminddb-devel.

Install libmaxminddb-devel on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libmaxminddb-devel

Install libmaxminddb-devel on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libmaxminddb-devel

How To Uninstall libmaxminddb-devel on Rocky Linux 8

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

sudo dnf remove libmaxminddb-devel

libmaxminddb-devel Package Contents on Rocky Linux 8

/usr/include/maxminddb.h
/usr/include/maxminddb_config-32.h
/usr/include/maxminddb_config.h
/usr/lib/libmaxminddb.so
/usr/lib/pkgconfig/libmaxminddb.pc
/usr/share/doc/libmaxminddb-devel
/usr/share/doc/libmaxminddb-devel/Changes.md
/usr/share/licenses/libmaxminddb-devel
/usr/share/licenses/libmaxminddb-devel/NOTICE
/usr/share/man/man3/MMDB_aget_value.3.gz
/usr/share/man/man3/MMDB_close.3.gz
/usr/share/man/man3/MMDB_dump_entry_data_list.3.gz
/usr/share/man/man3/MMDB_free_entry_data_list.3.gz
/usr/share/man/man3/MMDB_get_entry_data_list.3.gz
/usr/share/man/man3/MMDB_get_metadata_as_entry_data_list.3.gz
/usr/share/man/man3/MMDB_get_value.3.gz
/usr/share/man/man3/MMDB_lib_version.3.gz
/usr/share/man/man3/MMDB_lookup_sockaddr.3.gz
/usr/share/man/man3/MMDB_lookup_string.3.gz
/usr/share/man/man3/MMDB_open.3.gz
/usr/share/man/man3/MMDB_read_node.3.gz
/usr/share/man/man3/MMDB_strerror.3.gz
/usr/share/man/man3/MMDB_vget_value.3.gz
/usr/share/man/man3/libmaxminddb.3.gz
/usr/include/maxminddb.h
/usr/include/maxminddb_config-64.h
/usr/include/maxminddb_config.h
/usr/lib64/libmaxminddb.so
/usr/lib64/pkgconfig/libmaxminddb.pc
/usr/share/doc/libmaxminddb-devel
/usr/share/doc/libmaxminddb-devel/Changes.md
/usr/share/licenses/libmaxminddb-devel
/usr/share/licenses/libmaxminddb-devel/NOTICE
/usr/share/man/man3/MMDB_aget_value.3.gz
/usr/share/man/man3/MMDB_close.3.gz
/usr/share/man/man3/MMDB_dump_entry_data_list.3.gz
/usr/share/man/man3/MMDB_free_entry_data_list.3.gz
/usr/share/man/man3/MMDB_get_entry_data_list.3.gz
/usr/share/man/man3/MMDB_get_metadata_as_entry_data_list.3.gz
/usr/share/man/man3/MMDB_get_value.3.gz
/usr/share/man/man3/MMDB_lib_version.3.gz
/usr/share/man/man3/MMDB_lookup_sockaddr.3.gz
/usr/share/man/man3/MMDB_lookup_string.3.gz
/usr/share/man/man3/MMDB_open.3.gz
/usr/share/man/man3/MMDB_read_node.3.gz
/usr/share/man/man3/MMDB_strerror.3.gz
/usr/share/man/man3/MMDB_vget_value.3.gz
/usr/share/man/man3/libmaxminddb.3.gz

References

Summary

In this tutorial we learn how to install libmaxminddb-devel on Rocky Linux 8 using yum and dnf.