qgis_mapserver command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
qgis_mapserver: command not found
or when using sudo you get the following error message
sudo: qgis_mapserver: command not found
Solutions to qgis_mapserver: command not found
How To Fix qgis_mapserver: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu qgis_mapserver is provided by qgis-server-bin package.
qgis-server-bin is:
QGIS is a Geographic Information System (GIS) which manages, analyzes and display databases of geographic information.
This package contains the QGIS server executables.
To fix this problem, we can install more using the command below.
sudo apt-get -y install qgis-server-bin
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install qgis-server-bin.
sudo apt -y install qgis-server-bin
Or if you have aptitude installed you can use the following command.
sudo aptitude install qgis-server-bin
Summary
In this tutorial we learn how to fix qgis_mapserver command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.