How To Install libspatialite-dbg on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libspatialite-dbg
on Ubuntu 18.04.
What is libspatialite-dbg
libspatialite-dbg is:
The SpatiaLite extension enables SQLite to support spatial (geometry) data in a way conformant to OpenGis specifications, with both WKT and WKB formats.
Spatialite also includes Virtualshape and Virtualtext to enable accessing shapefiles and csv/text files as virtual tables.
This package contains debugging symbols for the libraries.
There are three methods to install libspatialite-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 libspatialite-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 libspatialite-dbg
using apt-get
by running the following command:
sudo apt-get -y install libspatialite-dbg
Install libspatialite-dbg Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libspatialite-dbg
using apt
by running the following command:
sudo apt -y install libspatialite-dbg
Install libspatialite-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 libspatialite-dbg
using aptitude
by running the following command:
sudo aptitude -y install libspatialite-dbg
How To Uninstall libspatialite-dbg on Ubuntu 18.04
To uninstall only the libspatialite-dbg
package we can use the following command:
sudo apt-get remove libspatialite-dbg
Uninstall libspatialite-dbg And Its Dependencies
To uninstall libspatialite-dbg
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libspatialite-dbg
Remove libspatialite-dbg Configurations and Data
To remove libspatialite-dbg
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libspatialite-dbg
Remove libspatialite-dbg configuration, data, and all of its dependencies
We can use the following command to remove libspatialite-dbg
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libspatialite-dbg
References
Summary
In this tutorial we learn how to install libspatialite-dbg
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.