Geographic Information Systems (GIS) have become an essential tool for managing, analyzing, and visualizing spatial data. QGIS, a popular open-source GIS software, is a go-to solution for professionals and enthusiasts in the field. In this guide, we’ll walk you through the process of installing and uninstalling QGIS on FunOS.
What is QGIS?
QGIS is a free and open-source cross-platform GIS application that allows users to create, edit, visualize, analyze, and publish geospatial information. It supports a wide range of file formats and provides powerful tools for cartography and spatial analysis. Whether you’re working on mapping projects, conducting environmental studies, or managing geographic databases, QGIS is a versatile tool for your needs.
How to Install QGIS on FunOS
Follow the steps below to install QGIS on FunOS:
Step 1: Open a Terminal
There are three ways to open a terminal on FunOS:
- Click Menu in the bottom-left corner of the screen, then select Terminal.
- Click the Terminal icon in the Tray.
- Press
Ctrl + Alt + T
on your keyboard.
Step 2: Update the Package List
Run the following command to ensure the package list is up to date:
sudo apt update
Step 3: Install the Necessary Dependencies
Install required dependencies to manage HTTPS repositories:
sudo apt install apt-transport-https
Step 4: Add the GPG Key
Download and add the official QGIS GPG key to ensure the authenticity of the repository:
sudo wget -O /etc/apt/keyrings/qgis-archive-keyring.gpg https://download.qgis.org/downloads/qgis-archive-keyring.gpg
Step 5: Add the Repository
Add the QGIS repository to your system sources:
sudo tee /etc/apt/sources.list.d/qgis.sources << EOF > /dev/null
Types: deb deb-src
URIs: https://qgis.org/ubuntu-ltr
Suites: $(lsb_release -cs)
Architectures: amd64
Components: main
Signed-By: /etc/apt/keyrings/qgis-archive-keyring.gpg
EOF
Step 6: Update the Package List Again
Refresh the package list to include the newly added repository:
sudo apt update
Step 7: Install QGIS
Install QGIS along with the GRASS GIS plugin:
sudo apt install qgis qgis-plugin-grass
Step 8: Reload the Menu
After installation, refresh the FunOS menu to make QGIS accessible:
- Click the Menu button in the lower-left corner.
- Click Reload menu.
Launching QGIS
To open QGIS:
- Click the Menu button in the lower-left corner.
- Navigate to the Education or Science category, where you will find QGIS listed.
How to Uninstall QGIS on FunOS
If you no longer need QGIS, you can remove it completely from your system by following these steps:
Step 1: Open a Terminal
Access the terminal using one of the methods mentioned above.
Step 2: Remove QGIS
Uninstall QGIS and its GRASS GIS plugin:
sudo apt remove --purge qgis qgis-plugin-grass
Step 3: Remove Any Unused Dependencies
Clean up any unused dependencies:
sudo apt autoremove --purge
Step 4: Remove the Repository and Key (Optional)
To completely remove the QGIS repository and key from your system:
sudo rm -f /etc/apt/sources.list.d/qgis.sources
sudo rm -f /etc/apt/keyrings/qgis-archive-keyring.gpg
Step 5: Update the Package List
Refresh the package list again:
sudo apt update
Step 6: Remove User Data (Optional)
Delete QGIS user data from your home directory:
rm -rf $HOME/.cache/QGIS
rm -rf $HOME/.grass8
rm -rf $HOME/.local/share/QGIS
Step 7: Reload the Menu
Refresh the FunOS menu:
- Click the Menu button in the lower-left corner.
- Click Reload menu.
Conclusion
QGIS is a powerful tool that brings advanced GIS capabilities to your desktop. Whether you’re a GIS professional or a student, its extensive features and compatibility with various geospatial data formats make it a must-have application. By following this guide, you can easily install and manage QGIS on FunOS. Should you need to remove it, the uninstallation process is just as straightforward. Enjoy exploring the world of GIS with QGIS!
Leave a Reply