How To Install perl-GIS-Distance on Rocky Linux 8

In this tutorial we learn how to install perl-GIS-Distance on Rocky Linux 8. perl-GIS-Distance is Calculate geographic distances

Introduction

In this tutorial we learn how to install perl-GIS-Distance on Rocky Linux 8.

What is perl-GIS-Distance

This Perl module calculates distances between geographic points on, at the moment, planet Earth. Various “FORMULAS” are available that provide different levels of accuracy versus speed.

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

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

sudo dnf -y install perl-GIS-Distance

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

sudo yum -y install perl-GIS-Distance

How To Uninstall perl-GIS-Distance on Rocky Linux 8

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

sudo dnf remove perl-GIS-Distance

perl-GIS-Distance Package Contents on Rocky Linux 8

/usr/share/doc/perl-GIS-Distance
/usr/share/doc/perl-GIS-Distance/Changes
/usr/share/doc/perl-GIS-Distance/README.md
/usr/share/licenses/perl-GIS-Distance
/usr/share/licenses/perl-GIS-Distance/LICENSE
/usr/share/man/man3/GIS::Distance.3pm.gz
/usr/share/man/man3/GIS::Distance::ALT.3pm.gz
/usr/share/man/man3/GIS::Distance::Constants.3pm.gz
/usr/share/man/man3/GIS::Distance::Cosine.3pm.gz
/usr/share/man/man3/GIS::Distance::Formula.3pm.gz
/usr/share/man/man3/GIS::Distance::GreatCircle.3pm.gz
/usr/share/man/man3/GIS::Distance::Haversine.3pm.gz
/usr/share/man/man3/GIS::Distance::MathTrig.3pm.gz
/usr/share/man/man3/GIS::Distance::Null.3pm.gz
/usr/share/man/man3/GIS::Distance::Polar.3pm.gz
/usr/share/man/man3/GIS::Distance::Vincenty.3pm.gz
/usr/share/perl5/vendor_perl/GIS
/usr/share/perl5/vendor_perl/GIS/Distance
/usr/share/perl5/vendor_perl/GIS/Distance.pm
/usr/share/perl5/vendor_perl/GIS/Distance/ALT.pm
/usr/share/perl5/vendor_perl/GIS/Distance/Constants.pm
/usr/share/perl5/vendor_perl/GIS/Distance/Cosine.pm
/usr/share/perl5/vendor_perl/GIS/Distance/Formula.pm
/usr/share/perl5/vendor_perl/GIS/Distance/GreatCircle.pm
/usr/share/perl5/vendor_perl/GIS/Distance/Haversine.pm
/usr/share/perl5/vendor_perl/GIS/Distance/MathTrig.pm
/usr/share/perl5/vendor_perl/GIS/Distance/Null.pm
/usr/share/perl5/vendor_perl/GIS/Distance/Polar.pm
/usr/share/perl5/vendor_perl/GIS/Distance/Vincenty.pm

References

Summary

In this tutorial we learn how to install perl-GIS-Distance on Rocky Linux 8 using yum and dnf.