How To Install python-geolinks on Ubuntu 18.04

In this tutorial we learn how to install python-geolinks on Ubuntu 18.04. python-geolinks is Python 2 Library for using geospatial links (catalogue interoperablity)

Introduction

In this tutorial we learn how to install python-geolinks on Ubuntu 18.04.

python-geolinks is:

This package is a utility library to work with geospatial links. It is an implementation of the Cat-Interop work described at https://wiki.osgeo.org/wiki/Cat-Interop

This package provides the Python 2 version of the library.

There are three methods to install python-geolinks on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install python-geolinks using apt-get by running the following command:

sudo apt-get -y install python-geolinks

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python-geolinks using apt by running the following command:

sudo apt -y install python-geolinks

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 python-geolinks using aptitude by running the following command:

sudo aptitude -y install python-geolinks

To uninstall only the python-geolinks package we can use the following command:

sudo apt-get remove python-geolinks

To uninstall python-geolinks and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove python-geolinks

To remove python-geolinks configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge python-geolinks

We can use the following command to remove python-geolinks configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python-geolinks

References

Summary

In this tutorial we learn how to install python-geolinks package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.