How To Install perl-GeoIP2 on Fedora 36

In this tutorial we learn how to install perl-GeoIP2 in Fedora 36. perl-GeoIP2 is Perl API for MaxMind’s GeoIP2 web services and databases

Introduction

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

What is perl-GeoIP2

This package provides an API for the GeoIP2 web services and databases. The API also works with the GeoLite2 databases.

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

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

sudo dnf -y install perl-GeoIP2

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

sudo yum -y install perl-GeoIP2

How To Uninstall perl-GeoIP2 on Fedora 36

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

sudo dnf remove perl-GeoIP2

perl-GeoIP2 Package Contents on Fedora 36

/usr/bin/geoip2-web-service-request
/usr/share/doc/perl-GeoIP2
/usr/share/doc/perl-GeoIP2/CONTRIBUTING.md
/usr/share/doc/perl-GeoIP2/Changes
/usr/share/doc/perl-GeoIP2/README.md
/usr/share/licenses/perl-GeoIP2
/usr/share/licenses/perl-GeoIP2/LICENSE
/usr/share/man/man3/GeoIP2.3pm.gz
/usr/share/man/man3/GeoIP2::Database::Reader.3pm.gz
/usr/share/man/man3/GeoIP2::Error::Generic.3pm.gz
/usr/share/man/man3/GeoIP2::Error::HTTP.3pm.gz
/usr/share/man/man3/GeoIP2::Error::IPAddressNotFound.3pm.gz
/usr/share/man/man3/GeoIP2::Error::Type.3pm.gz
/usr/share/man/man3/GeoIP2::Error::WebService.3pm.gz
/usr/share/man/man3/GeoIP2::Model::ASN.3pm.gz
/usr/share/man/man3/GeoIP2::Model::AnonymousIP.3pm.gz
/usr/share/man/man3/GeoIP2::Model::City.3pm.gz
/usr/share/man/man3/GeoIP2::Model::ConnectionType.3pm.gz
/usr/share/man/man3/GeoIP2::Model::Country.3pm.gz
/usr/share/man/man3/GeoIP2::Model::Domain.3pm.gz
/usr/share/man/man3/GeoIP2::Model::Enterprise.3pm.gz
/usr/share/man/man3/GeoIP2::Model::ISP.3pm.gz
/usr/share/man/man3/GeoIP2::Model::Insights.3pm.gz
/usr/share/man/man3/GeoIP2::Record::City.3pm.gz
/usr/share/man/man3/GeoIP2::Record::Continent.3pm.gz
/usr/share/man/man3/GeoIP2::Record::Country.3pm.gz
/usr/share/man/man3/GeoIP2::Record::Location.3pm.gz
/usr/share/man/man3/GeoIP2::Record::MaxMind.3pm.gz
/usr/share/man/man3/GeoIP2::Record::Postal.3pm.gz
/usr/share/man/man3/GeoIP2::Record::RepresentedCountry.3pm.gz
/usr/share/man/man3/GeoIP2::Record::Subdivision.3pm.gz
/usr/share/man/man3/GeoIP2::Record::Traits.3pm.gz
/usr/share/man/man3/GeoIP2::WebService::Client.3pm.gz
/usr/share/perl5/vendor_perl/GeoIP2
/usr/share/perl5/vendor_perl/GeoIP2.pm
/usr/share/perl5/vendor_perl/GeoIP2/Database
/usr/share/perl5/vendor_perl/GeoIP2/Database/Reader.pm
/usr/share/perl5/vendor_perl/GeoIP2/Error
/usr/share/perl5/vendor_perl/GeoIP2/Error/Generic.pm
/usr/share/perl5/vendor_perl/GeoIP2/Error/HTTP.pm
/usr/share/perl5/vendor_perl/GeoIP2/Error/IPAddressNotFound.pm
/usr/share/perl5/vendor_perl/GeoIP2/Error/Type.pm
/usr/share/perl5/vendor_perl/GeoIP2/Error/WebService.pm
/usr/share/perl5/vendor_perl/GeoIP2/Model
/usr/share/perl5/vendor_perl/GeoIP2/Model/ASN.pm
/usr/share/perl5/vendor_perl/GeoIP2/Model/AnonymousIP.pm
/usr/share/perl5/vendor_perl/GeoIP2/Model/City.pm
/usr/share/perl5/vendor_perl/GeoIP2/Model/ConnectionType.pm
/usr/share/perl5/vendor_perl/GeoIP2/Model/Country.pm
/usr/share/perl5/vendor_perl/GeoIP2/Model/Domain.pm
/usr/share/perl5/vendor_perl/GeoIP2/Model/Enterprise.pm
/usr/share/perl5/vendor_perl/GeoIP2/Model/ISP.pm
/usr/share/perl5/vendor_perl/GeoIP2/Model/Insights.pm
/usr/share/perl5/vendor_perl/GeoIP2/Record
/usr/share/perl5/vendor_perl/GeoIP2/Record/City.pm
/usr/share/perl5/vendor_perl/GeoIP2/Record/Continent.pm
/usr/share/perl5/vendor_perl/GeoIP2/Record/Country.pm
/usr/share/perl5/vendor_perl/GeoIP2/Record/Location.pm
/usr/share/perl5/vendor_perl/GeoIP2/Record/MaxMind.pm
/usr/share/perl5/vendor_perl/GeoIP2/Record/Postal.pm
/usr/share/perl5/vendor_perl/GeoIP2/Record/RepresentedCountry.pm
/usr/share/perl5/vendor_perl/GeoIP2/Record/Subdivision.pm
/usr/share/perl5/vendor_perl/GeoIP2/Record/Traits.pm
/usr/share/perl5/vendor_perl/GeoIP2/Role
/usr/share/perl5/vendor_perl/GeoIP2/Role/Error
/usr/share/perl5/vendor_perl/GeoIP2/Role/Error/HTTP.pm
/usr/share/perl5/vendor_perl/GeoIP2/Role/HasIPAddress.pm
/usr/share/perl5/vendor_perl/GeoIP2/Role/HasLocales.pm
/usr/share/perl5/vendor_perl/GeoIP2/Role/Model
/usr/share/perl5/vendor_perl/GeoIP2/Role/Model.pm
/usr/share/perl5/vendor_perl/GeoIP2/Role/Model/Flat.pm
/usr/share/perl5/vendor_perl/GeoIP2/Role/Model/HasSubdivisions.pm
/usr/share/perl5/vendor_perl/GeoIP2/Role/Model/Location.pm
/usr/share/perl5/vendor_perl/GeoIP2/Role/Record
/usr/share/perl5/vendor_perl/GeoIP2/Role/Record/Country.pm
/usr/share/perl5/vendor_perl/GeoIP2/Role/Record/HasNames.pm
/usr/share/perl5/vendor_perl/GeoIP2/Types.pm
/usr/share/perl5/vendor_perl/GeoIP2/WebService
/usr/share/perl5/vendor_perl/GeoIP2/WebService/Client.pm

References

Summary

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