spatialite_convert command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
spatialite_convert: command not found
or when using sudo you get the following error message
sudo: spatialite_convert: command not found
Solutions to spatialite_convert: command not found
How To Fix spatialite_convert: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu spatialite_convert is provided by spatialite-bin package.
spatialite-bin 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 tools useful to manage SQLite databases.
To fix this problem, we can install more using the command below.
sudo apt-get -y install spatialite-bin
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install spatialite-bin.
sudo apt -y install spatialite-bin
Or if you have aptitude installed you can use the following command.
sudo aptitude install spatialite-bin
Summary
In this tutorial we learn how to fix spatialite_convert command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.