How To Install libgis-distance-perl on Debian 12
Introduction
In this tutorial we learn how to install libgis-distance-perl
on Debian 12.
What is libgis-distance-perl
libgis-distance-perl is:
GIS::Distance calculates distances between geographic points on, at the moment, planet Earth. Various FORMULAS are available that provide different levels of accuracy versus speed.
GIS::Distance::Fast, a separate distribution, ships with C implementations of some of the formulas shipped with GIS::Distance. If you’re looking for speed then install it and the ::Fast formulas will be automatically used by this module.
There are three methods to install libgis-distance-perl
on Debian 12. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libgis-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 libgis-distance-perl
using apt-get
by running the following command:
sudo apt-get -y install libgis-distance-perl
Install libgis-distance-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libgis-distance-perl
using apt
by running the following command:
sudo apt -y install libgis-distance-perl
Install libgis-distance-perl Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libgis-distance-perl
using aptitude
by running the following command:
sudo aptitude -y install libgis-distance-perl
How To Uninstall libgis-distance-perl on Debian 12
To uninstall only the libgis-distance-perl
package we can use the following command:
sudo apt-get remove libgis-distance-perl
Uninstall libgis-distance-perl And Its Dependencies
To uninstall libgis-distance-perl
and its dependencies that are no longer needed by Debian 12, we can use the command below:
sudo apt-get -y autoremove libgis-distance-perl
Remove libgis-distance-perl Configurations and Data
To remove libgis-distance-perl
configuration and data from Debian 12 we can use the following command:
sudo apt-get -y purge libgis-distance-perl
Remove libgis-distance-perl configuration, data, and all of its dependencies
We can use the following command to remove libgis-distance-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libgis-distance-perl
Dependencies
libgis-distance-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libgis-distance-perl
package on Debian 12 using different package management tools: apt
, apt-get
and aptitude
.