Introduction
In this tutorial we learn how to install libgeo-coordinates-osgb-perl
on Ubuntu 22.04.
What is libgeo-coordinates-osgb-perl
libgeo-coordinates-osgb-perl is:
The included modules provide an implementation of co-ordinate conversion for
England, Wales, and Scotland based on formulae and data published by the
Ordnance Survey of Great Britain.
The Geo::Coordinates::OSGB module provides routines to convert between
latitude/longitude coordinates in the WGS84 or OSGB36 models and the British
National Grid. The Geo::Coordinates::OSGB::Grid module includes some useful
extra routines to parse and format grid references in a variety of popular
forms (including which Landranger map your point appears on). The
Geo::Coordinates::OSGB::Maps module provides data for British maps.
Note that due to the nature of this type of conversion, the conversions are
only really useful in the vicinity of the British Isles. If you are elsewhere
on the planet you need an implementation optimized for your neighbourhood.
There are three methods to install libgeo-coordinates-osgb-perl
on Ubuntu 22.04. 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-coordinates-osgb-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-coordinates-osgb-perl
using apt-get
by running the following command:
sudo apt-get -y install libgeo-coordinates-osgb-perl
Install libgeo-coordinates-osgb-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libgeo-coordinates-osgb-perl
using apt
by running the following command:
sudo apt -y install libgeo-coordinates-osgb-perl
Install libgeo-coordinates-osgb-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 Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libgeo-coordinates-osgb-perl
using aptitude
by running the following command:
sudo aptitude -y install libgeo-coordinates-osgb-perl
How To Uninstall libgeo-coordinates-osgb-perl on Ubuntu 22.04
To uninstall only the libgeo-coordinates-osgb-perl
package we can use the following command:
sudo apt-get remove libgeo-coordinates-osgb-perl
Uninstall libgeo-coordinates-osgb-perl And Its Dependencies
To uninstall libgeo-coordinates-osgb-perl
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove libgeo-coordinates-osgb-perl
Remove libgeo-coordinates-osgb-perl Configurations and Data
To remove libgeo-coordinates-osgb-perl
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge libgeo-coordinates-osgb-perl
Remove libgeo-coordinates-osgb-perl configuration, data, and all of its dependencies
We can use the following command to remove libgeo-coordinates-osgb-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libgeo-coordinates-osgb-perl
References
Summary
In this tutorial we learn how to install libgeo-coordinates-osgb-perl
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.