How To Install libgeo-distance-perl on Kali Linux
Introduction
In this tutorial we learn how to install libgeo-distance-perl
on Kali Linux.
What is libgeo-distance-perl
libgeo-distance-perl is:
Geo::Distance is a Perl library aiming 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.
NB! The alternative GIS::Distance module is being worked on as a replacement for this module. In the near future Geo::Distance will become a lightweight wrapper around GIS::Distance so that legacy code benefits from fixes to GIS::Distance through the old Geo::Distance API. For any new development it is recommended to try use GIS::Distance.
There are three methods to install libgeo-distance-perl
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libgeo-distance-perl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libgeo-distance-perl
using apt-get
by running the following command:
sudo apt-get -y install libgeo-distance-perl
Install libgeo-distance-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libgeo-distance-perl
using apt
by running the following command:
sudo apt -y install libgeo-distance-perl
Install libgeo-distance-perl Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libgeo-distance-perl
using aptitude
by running the following command:
sudo aptitude -y install libgeo-distance-perl
How To Uninstall libgeo-distance-perl on Kali Linux
To uninstall only the libgeo-distance-perl
package we can use the following command:
sudo apt-get remove libgeo-distance-perl
Uninstall libgeo-distance-perl And Its Dependencies
To uninstall libgeo-distance-perl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libgeo-distance-perl
Remove libgeo-distance-perl Configurations and Data
To remove libgeo-distance-perl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libgeo-distance-perl
Remove libgeo-distance-perl configuration, data, and all of its dependencies
We can use the following command to remove libgeo-distance-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libgeo-distance-perl
Dependencies
libgeo-distance-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libgeo-distance-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.