Here you will simply install the latest stable QGIS (3.22.x Białowieża) in your Debian or Ubuntu without having to edit config files.
Note
Although you see ‘Debian’ in some places, this also works for ‘Ubuntu’, as one is actually a symlink to the other on our server.
First install some tools you will need for this instructions:
# sudo apt install gnupg software-properties-common
Now install the QGIS Signing Key, so QGIS software from the QGIS repo will be trusted and installed:
# wget -qO - https://qgis.org/downloads/qgis-2021.gpg.key | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/qgis-archive.gpg --import
# sudo chmod a+r /etc/apt/trusted.gpg.d/qgis-archive.gpg
Add the QGIS repo for the latest stable QGIS (3.22.x Białowieża).
Note: “lsb_release -c -s” in those lines will return your distro name:
# sudo add-apt-repository "deb https://qgis.org/ubuntu $(lsb_release -c -s) main"
Update your repository information to reflect also the just added QGIS one:
# sudo apt update
Now, install QGIS:
# sudo apt install qgis qgis-plugin-grass
If you still can't find an answer to what you're looking for, or you have a specific question, open a new ticket and we'd be happy to help!
Contact Us