How To Install perl-Geo-Distance on Rocky Linux 8
Introduction
In this tutorial we learn how to install perl-Geo-Distance
on Rocky Linux 8.
What is perl-Geo-Distance
This Perl library aims to provide as many tools to make it as simple as possible to calculate distances between geographic points, and anything that can be derived from that. Currently there is support for finding the closest locations within a specified distance, to find the closest number of points to a specified point, and to do basic point-to-point distance calculations. This Perl module is deprecated, use GIS
We can use yum
or dnf
to install perl-Geo-Distance
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Geo-Distance.
Install perl-Geo-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-Geo-Distance
using dnf
by running the following command:
sudo dnf -y install perl-Geo-Distance
Install perl-Geo-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-Geo-Distance
using yum
by running the following command:
sudo yum -y install perl-Geo-Distance
How To Uninstall perl-Geo-Distance on Rocky Linux 8
To uninstall only the perl-Geo-Distance
package we can use the following command:
sudo dnf remove perl-Geo-Distance
perl-Geo-Distance Package Contents on Rocky Linux 8
/usr/share/doc/perl-Geo-Distance
/usr/share/doc/perl-Geo-Distance/Changes
/usr/share/doc/perl-Geo-Distance/README.md
/usr/share/licenses/perl-Geo-Distance
/usr/share/licenses/perl-Geo-Distance/LICENSE
/usr/share/man/man3/Geo::Distance.3pm.gz
/usr/share/perl5/vendor_perl/Geo
/usr/share/perl5/vendor_perl/Geo/Distance.pm
References
Summary
In this tutorial we learn how to install perl-Geo-Distance
on Rocky Linux 8 using yum and dnf.