The new Ubuntu 20.04 LTS is now available for download. And now I want to update my tutorial on how to install QGIS on Ubuntu 20.04. QGIS works very well on Focal Fossa. It is officially supported. The installation steps are pretty much the same as the previous Ubuntu versions. When this article is being written, QGIS 3.14 is the latest available version.
I have been using QGIS for several years now. It’s not my main GIS software to handle my works but sometimes QGIS has features that other software do not have. QGIS 3.14 works very well on Ubuntu 20.04. It is very stable and easy to use. You may check out my QGIS tutorial collection from the link below.
Steps to Install QGIS on Ubuntu 20.04
Step 1. Install Required Tools
We need to install some packages needed by the system. You may skip this if you already have.
sudo apt install gnupg software-properties-common
Step 2. Add the GPG Public Key
First, we need to add and import the public key for QGIS. Without this key, we won’t be able to update or even install the QGIS. Open Terminal and paste this command
wget -qO - https://qgis.org/downloads/qgis-2020.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
To verify, use this command
gpg --fingerprint 51F523511C7028C3
Step 2. Add the QGIS repository to Ubuntu 20.04
Now we are going to add the QGIS repository to our system. Simply execute this command below to add the QGIS repository to Ubuntu 20.04. This will enable us to install the latest stable version of QGIS.
sudo add-apt-repository "deb https://qgis.org/debian lsb_release -c -s
main"
Step 3. Install QGIS
Next, simply update the system and install QGIS
sudo apt update
sudo apt install qgis qgis-plugin-grass
There are a bunch of files will be installed. Simply type Y and then press Enter to confirm
Wait until the installation process is completed. Now you should be able to run QGIS on Ubuntu 20.04.
krishnakumar
November 1, 2020–export –armor F7E06F06199EF2F2 | sudo apt-key add –
returns, “gpg: no valid OpenPGP data found.”
Kim
May 11, 2021Thank you. This helped
Jay
January 25, 2022Keep getting The repository ‘https://qgis.org/debian lsb_release Release’ does not have a Release file
Kaka
August 31, 2022Please Help me how to install qgis 3.22 on Ubuntu 20.04
Francis
November 25, 2022am unable to install in Ubuntu 22.04
erkibo
April 8, 2023unable to install in ubuntu 20.04
Dirk
April 13, 2023Hallo Erkibo,
schau mal bitte hier:
https://courses.spatialthoughts.com/install-qgis-ltr.html
Habe das gerade gemacht und funktioniert bestens.
BG Dirk
Resolved: Error while installing QGIS on Ubuntu 20.04 - Daily Developer Blog
April 26, 2023[…] trying to install QGIS for ubuntu 20.04 with this guide http://freegistutorial.com/install-qgis-on-ubuntu-20-04-focal-fossa/ I managed step one and successfully installed and upgradedgnupg software-properties-common, but […]