How To Install qgis on Kali Linux
Introduction
In this tutorial we learn how to install qgis on Kali Linux.
What is qgis
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.
There are three methods to install qgis on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install qgis Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install qgis using apt-get by running the following command:
sudo apt-get -y install qgisInstall qgis Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install qgis using apt by running the following command:
sudo apt -y install qgisInstall qgis Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install qgis using aptitude by running the following command:
sudo aptitude -y install qgisHow To Uninstall qgis on Kali Linux
To uninstall only the qgis package we can use the following command:
sudo apt-get remove qgisUninstall qgis And Its Dependencies
To uninstall qgis and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove qgisRemove qgis Configurations and Data
To remove qgis configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge qgisRemove qgis configuration, data, and all of its dependencies
We can use the following command to remove qgis configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge qgisDependencies
qgis have the following dependencies:
- python3-qgis
- qgis-common
- qgis-providers
- qt5-image-formats-plugins
- libc6
- libgcc-s1
- libgdal28
- libgeos-c1v5
- libgsl25
- libqgis-analysis3.10.14
- libqgis-app3.10.14
- libqgis-core3.10.14
- libqgis-gui3.10.14
- libqt5core5a
- libqt5gui5
- libqt5keychain1
- libqt5network5
- libqt5sql5
- libqt5webkit5
- libqt5widgets5
- libqt5xml5
- libstdc++6
- ocl-icd-libopencl1
- ocl-icd-libopencl1
References
Summary
In this tutorial we learn how to install qgis package on Kali Linux using different package management tools: apt, apt-get and aptitude.