How To Install qgis-server on Kali Linux
Introduction
In this tutorial we learn how to install qgis-server on Kali Linux.
What is qgis-server
qgis-server is:
QGIS is a Geographic Information System (GIS) which manages, analyzes and display databases of geographic information.
This package contains the QGIS server.
There are three methods to install qgis-server 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-server Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install qgis-server using apt-get by running the following command:
sudo apt-get -y install qgis-serverInstall qgis-server Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install qgis-server using apt by running the following command:
sudo apt -y install qgis-serverInstall qgis-server 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-server using aptitude by running the following command:
sudo aptitude -y install qgis-serverHow To Uninstall qgis-server on Kali Linux
To uninstall only the qgis-server package we can use the following command:
sudo apt-get remove qgis-serverUninstall qgis-server And Its Dependencies
To uninstall qgis-server and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove qgis-serverRemove qgis-server Configurations and Data
To remove qgis-server configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge qgis-serverRemove qgis-server configuration, data, and all of its dependencies
We can use the following command to remove qgis-server configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge qgis-serverDependencies
qgis-server have the following dependencies:
- python3-qgis
- qgis-providers
- libc6
- libexiv2-27
- libfcgi0ldbl
- libgcc-s1
- libqgis-core3.10.14
- libqgis-server3.10.14
- libqt5core5a
- libqt5gui5
- libqt5webkit5
- libqt5widgets5
- libqt5xml5
- libstdc++6
References
Summary
In this tutorial we learn how to install qgis-server package on Kali Linux using different package management tools: apt, apt-get and aptitude.