How To Install IP2Location-devel on Rocky Linux 8

In this tutorial we learn how to install IP2Location-devel on Rocky Linux 8. IP2Location-devel is Development files for the IP2Location library

Introduction

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

What is IP2Location-devel

IP2Location C library enables the user to get the country, region, city, coordinates, ZIP code, time zone, ISP, domain name, connection type, area code, weather info, mobile carrier, elevation, usage type, address type and category from any IP address or hostname. This library has been optimized for speed and memory utilization. The library contains API to query all IP2Location LITE and commercial binary databases. This package contains the development files for the IP2Location library.

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

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

sudo dnf -y install IP2Location-devel

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

sudo yum -y install IP2Location-devel

How To Uninstall IP2Location-devel on Rocky Linux 8

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

sudo dnf remove IP2Location-devel

IP2Location-devel Package Contents on Rocky Linux 8

/usr/include/IP2Location.h
/usr/lib64/libIP2Location.so
/usr/share/doc/IP2Location-devel
/usr/share/doc/IP2Location-devel/Developers_Guide.txt

References

Summary

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