mapserv command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
mapserv: command not found
or when using sudo you get the following error message
sudo: mapserv: command not found
Solutions to mapserv: command not found
How To Fix mapserv: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mapserv is provided by mapserver-bin package.
mapserver-bin is:
This package provides command-line utilities for MapServer.
MapServer is a CGI-based framework for Internet map services which supports Open Geospatial Consortium (OGC) standards. Scripting functionality in MapScript is provided by the suggested mapscript library packages.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mapserver-bin
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mapserver-bin.
sudo apt -y install mapserver-bin
Or if you have aptitude installed you can use the following command.
sudo aptitude install mapserver-bin
Summary
In this tutorial we learn how to fix mapserv command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.