How To Install libgeo-inverse-perl on Debian 12

Learn how to install libgeo-inverse-perl on Debian 12 with this tutorial. libgeo-inverse-perl is module to calculate geographic distance from a lat & lon pair

Introduction

In this tutorial we learn how to install libgeo-inverse-perl on Debian 12.

What is libgeo-inverse-perl

libgeo-inverse-perl is:

Geo::Inverse is a pure Perl port of the NGS program in the public domain “inverse” by Robert (Sid) Safford and Stephen J. Frakes. It can be used to calculate the distance, forward and back azimuth from a latitude and longitude pair.

There are three methods to install libgeo-inverse-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 libgeo-inverse-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-inverse-perl using apt-get by running the following command:

sudo apt-get -y install libgeo-inverse-perl

Install libgeo-inverse-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libgeo-inverse-perl using apt by running the following command:

sudo apt -y install libgeo-inverse-perl

Install libgeo-inverse-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 libgeo-inverse-perl using aptitude by running the following command:

sudo aptitude -y install libgeo-inverse-perl

How To Uninstall libgeo-inverse-perl on Debian 12

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

sudo apt-get remove libgeo-inverse-perl

Uninstall libgeo-inverse-perl And Its Dependencies

To uninstall libgeo-inverse-perl and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove libgeo-inverse-perl

Remove libgeo-inverse-perl Configurations and Data

To remove libgeo-inverse-perl configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge libgeo-inverse-perl

Remove libgeo-inverse-perl configuration, data, and all of its dependencies

We can use the following command to remove libgeo-inverse-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libgeo-inverse-perl

Dependencies

libgeo-inverse-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libgeo-inverse-perl package on Debian 12 using different package management tools: apt, apt-get and aptitude.