How To Install IP2Location on Fedora 36

In this tutorial we learn how to install IP2Location in Fedora 36. IP2Location is Tools for mapping IP address to geolocation information

Introduction

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

What is IP2Location

ip2location command 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 and usage type 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. Users can download the latest LITE database from IP2Location web site using e.g. the included downloader.

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

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

sudo dnf -y install IP2Location

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

sudo yum -y install IP2Location

How To Uninstall IP2Location on Fedora 36

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

sudo dnf remove IP2Location

IP2Location Package Contents on Fedora 36

---
title: "How To Install IP2Location on Fedora 36"
linkTitle: "IP2Location"
type: "docs"
description: "In this tutorial we learn how to install IP2Location in Fedora 36. IP2Location is Tools for mapping IP address to geolocation information"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/IP2Location-featured.png
---

## Introduction

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

### What is `IP2Location`

> ip2location command 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 and usage type 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.  Users can download the latest LITE database from IP2Location web site using e.g. the included downloader.  

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

## Install IP2Location on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

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

sudo dnf -y install IP2Location

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

sudo yum -y install IP2Location

How To Uninstall IP2Location on Fedora 36

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

sudo dnf remove IP2Location

/usr/bin/ip2location /usr/lib/.build-id /usr/lib/.build-id/ce /usr/lib/.build-id/ce/436f4fdf932e40cea625a04fbb605e0a079daf /usr/share/IP2Location/tools /usr/share/IP2Location/tools/download.pl /usr/share/doc/IP2Location /usr/share/doc/IP2Location/AUTHORS /usr/share/doc/IP2Location/ChangeLog /usr/share/doc/IP2Location/NEWS /usr/share/doc/IP2Location/README.md /usr/share/man/man1/ip2location.1.gz

IP2Location Package Contents on Fedora 36

References

Summary

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

/usr/bin/ip2location /usr/lib/.build-id /usr/lib/.build-id/01 /usr/lib/.build-id/01/7a1f884d8e9cb824f2dcd7faee370ac2562c34 /usr/share/IP2Location/tools /usr/share/IP2Location/tools/download.pl /usr/share/doc/IP2Location /usr/share/doc/IP2Location/AUTHORS /usr/share/doc/IP2Location/ChangeLog /usr/share/doc/IP2Location/NEWS /usr/share/doc/IP2Location/README.md /usr/share/man/man1/ip2location.1.gz


## References

* [IP2Location website](http://www.ip2location.com/)

## Summary

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