spatialite-gui command not found

In this troubleshooting guide we learn how to fix spatialite-gui command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

spatialite-gui: command not found

or when using sudo you get the following error message

sudo: spatialite-gui: command not found

Solutions to spatialite-gui: command not found

How To Fix spatialite-gui: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu spatialite-gui is provided by spatialite-gui package.

spatialite-gui is:

spatialite-gui is a Graphical User Interface (GUI) for SpatiaLite.

SpatiaLite is a SQLite extension that enables support of 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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install spatialite-gui

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install spatialite-gui.

sudo apt -y install spatialite-gui

Or if you have aptitude installed you can use the following command.

sudo aptitude install spatialite-gui

Summary

In this tutorial we learn how to fix spatialite-gui command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.