How To Install libgeo-google-mapobject-perl on Debian 10
Introduction
In this tutorial we learn how to install libgeo-google-mapobject-perl
on Debian 10.
What is libgeo-google-mapobject-perl
libgeo-google-mapobject-perl is:
Geo::Google::MapObject is intended to provide a server side solution to working with the Google Maps API. In particular an object of this class encapsulates a “map” object that provides support for the static maps API, the javascript maps API, AJAX calls and non-javascript fallback data; but without making many assumptions about the surrounding framework. It is assumed that a template framework with support for a “dot” notation is being used, for example HTML::Template::Pluggable. An important commitment of the module is support for graceful and consistent fallback to a functional non-javascript web page.
The javascript and static Google map APIs do not behave in quite the same way when zoom and center are not specified. Specifically it works quite well with the static maps (http://developers.google.com/maps/documentation/staticmaps/?csw=1) but not so well with the javascript API. To compensate for this the module gives a choice between: specifying the center and zoom levels; allowing the APIs and client side code to do whatever they think best; using a built in algorithm to calculate a sensible zoom and center; and finally supplying ones own algorithm to calculate a sensible zoom and center.
There are three methods to install libgeo-google-mapobject-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-google-mapobject-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-google-mapobject-perl
using apt-get
by running the following command:
sudo apt-get -y install libgeo-google-mapobject-perl
Install libgeo-google-mapobject-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libgeo-google-mapobject-perl
using apt
by running the following command:
sudo apt -y install libgeo-google-mapobject-perl
Install libgeo-google-mapobject-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-google-mapobject-perl
using aptitude
by running the following command:
sudo aptitude -y install libgeo-google-mapobject-perl
How To Uninstall libgeo-google-mapobject-perl on Debian 10
To uninstall only the libgeo-google-mapobject-perl
package we can use the following command:
sudo apt-get remove libgeo-google-mapobject-perl
Uninstall libgeo-google-mapobject-perl And Its Dependencies
To uninstall libgeo-google-mapobject-perl
and its dependencies that are no longer needed by Debian 10, we can use the command below:
sudo apt-get -y autoremove libgeo-google-mapobject-perl
Remove libgeo-google-mapobject-perl Configurations and Data
To remove libgeo-google-mapobject-perl
configuration and data from Debian 10 we can use the following command:
sudo apt-get -y purge libgeo-google-mapobject-perl
Remove libgeo-google-mapobject-perl configuration, data, and all of its dependencies
We can use the following command to remove libgeo-google-mapobject-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libgeo-google-mapobject-perl
Dependencies
libgeo-google-mapobject-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libgeo-google-mapobject-perl
package on Debian 10 using different package management tools: apt
, apt-get
and aptitude
.