How To Install libgeo-coder-osm-perl on Debian 10

Learn how to install libgeo-coder-osm-perl on Debian 10 with this tutorial. libgeo-coder-osm-perl is Geocode addresses with the OpenStreetMap Nominatim API

Introduction

In this tutorial we learn how to install libgeo-coder-osm-perl on Debian 10.

What is libgeo-coder-osm-perl

libgeo-coder-osm-perl is:

The Geo::Coder::OSM module provides an interface to the OpenStreet Nominatim geocoding service.

There are three methods to install libgeo-coder-osm-perl on Debian 10. 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-coder-osm-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-coder-osm-perl using apt-get by running the following command:

sudo apt-get -y install libgeo-coder-osm-perl

Install libgeo-coder-osm-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libgeo-coder-osm-perl

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

sudo aptitude -y install libgeo-coder-osm-perl

How To Uninstall libgeo-coder-osm-perl on Debian 10

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

sudo apt-get remove libgeo-coder-osm-perl

Uninstall libgeo-coder-osm-perl And Its Dependencies

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

sudo apt-get -y autoremove libgeo-coder-osm-perl

Remove libgeo-coder-osm-perl Configurations and Data

To remove libgeo-coder-osm-perl configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libgeo-coder-osm-perl

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

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

sudo apt-get -y autoremove --purge libgeo-coder-osm-perl

Dependencies

libgeo-coder-osm-perl have the following dependencies:

References

Summary

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