Install qgis-server by entering the following commands in the terminal:
sudo apt update sudo apt install qgis-server
Description:
QGIS server providing various OGC services
QGIS is a Geographic Information System (GIS) which manages, analyzes and display databases of geographic information. . This package contains the QGIS server.
Homepage: https://qgis.org/
Version: 2.18.17+dfsg-1
Section: universe/science