qgis command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
qgis: command not found
or when using sudo you get the following error message
sudo: qgis: command not found
Solutions to qgis: command not found
How To Fix qgis: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu qgis is provided by qgis package.
qgis is:
A Geographic Information System (GIS) manages, analyzes, and displays databases of geographic information. QGIS supports shape file viewing and editing, spatial data storage with PostgreSQL/PostGIS, projection on-the-fly, map composition, and a number of other features via a plugin interface. QGIS also supports display of various georeferenced raster and Digital Elevation Model (DEM) formats including GeoTIFF, Arc/Info ASCII Grid, and USGS ASCII DEM.
To fix this problem, we can install more using the command below.
sudo apt-get -y install qgis
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install qgis.
sudo apt -y install qgis
Or if you have aptitude installed you can use the following command.
sudo aptitude install qgis
Summary
In this tutorial we learn how to fix qgis command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.