How To Install libham-locator-perl on Debian 12

Learn how to install libham-locator-perl on Debian 12 with this tutorial. libham-locator-perl is Perl module for converting between Maidenhead locators and latitude/longitude

Introduction

In this tutorial we learn how to install libham-locator-perl on Debian 12.

What is libham-locator-perl

libham-locator-perl is:

Ham::Locator provides methods for conversion between Maidenhead (QTH) locator strings and latitude/longitude coordinates.

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

sudo apt-get -y install libham-locator-perl

Install libham-locator-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libham-locator-perl

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

sudo aptitude -y install libham-locator-perl

How To Uninstall libham-locator-perl on Debian 12

To uninstall only the libham-locator-perl package we can use the following command:

sudo apt-get remove libham-locator-perl

Uninstall libham-locator-perl And Its Dependencies

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

sudo apt-get -y autoremove libham-locator-perl

Remove libham-locator-perl Configurations and Data

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

sudo apt-get -y purge libham-locator-perl

Remove libham-locator-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libham-locator-perl

Dependencies

libham-locator-perl have the following dependencies:

References

Summary

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