How To Install libspatialindex-dbg on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libspatialindex-dbg
on Ubuntu 18.04.
What is libspatialindex-dbg
libspatialindex-dbg is:
Spatialindex is a C++ library that provides a framework for developing spatial indices. Currently it defines generic interfaces, provides simple main memory and disk based storage managers and a robust implementation of an R*-tree, an MVR-tree and a TPR-tree.
This package contains debugging symbols for the libraries.
There are three methods to install libspatialindex-dbg
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.
Install libspatialindex-dbg Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libspatialindex-dbg
using apt-get
by running the following command:
sudo apt-get -y install libspatialindex-dbg
Install libspatialindex-dbg Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libspatialindex-dbg
using apt
by running the following command:
sudo apt -y install libspatialindex-dbg
Install libspatialindex-dbg 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 libspatialindex-dbg
using aptitude
by running the following command:
sudo aptitude -y install libspatialindex-dbg
How To Uninstall libspatialindex-dbg on Ubuntu 18.04
To uninstall only the libspatialindex-dbg
package we can use the following command:
sudo apt-get remove libspatialindex-dbg
Uninstall libspatialindex-dbg And Its Dependencies
To uninstall libspatialindex-dbg
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libspatialindex-dbg
Remove libspatialindex-dbg Configurations and Data
To remove libspatialindex-dbg
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libspatialindex-dbg
Remove libspatialindex-dbg configuration, data, and all of its dependencies
We can use the following command to remove libspatialindex-dbg
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libspatialindex-dbg
References
Summary
In this tutorial we learn how to install libspatialindex-dbg
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.