shpinfo command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
shpinfo: command not found
or when using sudo you get the following error message
sudo: shpinfo: command not found
Solutions to shpinfo: command not found
How To Fix shpinfo: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu shpinfo is provided by shapelib package.
shapelib is:
The Shapefile format is a working and interchange format promoted by ESRI for simple vector data with attributes. It is apparently the only file format that can be edited in ARCView 2/3, and can also be exported and imported in ArcGis.
This package contains a useful set of tools to manage shapefiles.
To fix this problem, we can install more using the command below.
sudo apt-get -y install shapelib
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install shapelib.
sudo apt -y install shapelib
Or if you have aptitude installed you can use the following command.
sudo aptitude install shapelib
Summary
In this tutorial we learn how to fix shpinfo command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.