How To Install perl-Geo-IP on Fedora 36

In this tutorial we learn how to install perl-Geo-IP in Fedora 36. perl-Geo-IP is Efficient Perl bindings for the GeoIP location database

Introduction

In this tutorial we learn how to install perl-Geo-IP on Fedora 36.

What is perl-Geo-IP

This package contains Perl bindings for the GeoIP IP/host-name to country/location/organization database. This package requires Maxmind’s GeoIP libraries but is often faster than other, similar modules.

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

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

sudo dnf -y install perl-Geo-IP

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

sudo yum -y install perl-Geo-IP

How To Uninstall perl-Geo-IP on Fedora 36

To uninstall only the perl-Geo-IP package we can use the following command:

sudo dnf remove perl-Geo-IP

perl-Geo-IP Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/da
/usr/lib/.build-id/da/2089fe06fb334ba2c443808b232e481852a607
/usr/lib64/perl5/vendor_perl/Geo
/usr/lib64/perl5/vendor_perl/Geo/IP
/usr/lib64/perl5/vendor_perl/Geo/IP.pm
/usr/lib64/perl5/vendor_perl/Geo/IP/Record.pm
/usr/lib64/perl5/vendor_perl/Geo/IP/Record.pod
/usr/lib64/perl5/vendor_perl/auto/Geo
/usr/lib64/perl5/vendor_perl/auto/Geo/IP
/usr/lib64/perl5/vendor_perl/auto/Geo/IP/IP.so
/usr/share/doc/perl-Geo-IP
/usr/share/doc/perl-Geo-IP/Changes
/usr/share/doc/perl-Geo-IP/example
/usr/share/doc/perl-Geo-IP/example/benchmark.pl
/usr/share/doc/perl-Geo-IP/example/city.pl
/usr/share/doc/perl-Geo-IP/example/country_v6.pl
/usr/share/doc/perl-Geo-IP/example/geolite-mirror-simple.pl
/usr/share/doc/perl-Geo-IP/example/netspeed.pl
/usr/share/doc/perl-Geo-IP/example/netspeedcell.pl
/usr/share/doc/perl-Geo-IP/example/org.pl
/usr/share/doc/perl-Geo-IP/example/region.pl
/usr/share/man/man3/Geo::IP.3pm.gz
/usr/share/man/man3/Geo::IP::Record.3pm.gz

References

Summary

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