Installing QGIS Official Release on Ubuntu

QGIS is a cross-platform free and open-source desktop geographic information system (GIS) application. Although being cross-platform, level of official support varies from one platform to another. For the highest level of official support, I will recommend Ubuntu for building QGIS application environment.


I have modified the installation process a bit, creating separate sources list file and trusted signing key file, to better fit the design philosophy of APT.

Import QGIS Archive Automatic Signing Key

Setup Sources

On Ubuntu 20.04 LTS, Focal Fossa

Create file /etc/apt/sources.list.d/qgis-ubuntu-focal.list with following content.

On Ubuntu 18.04 LTS, Bionic Beaver

Create file /etc/apt/sources.list.d/qgis-ubuntu-bionic.list with following content.

On Ubuntu 16.04 LTS, Xenial Xerus (Obsolete)

I want my GDAL to support WMTS, which is not implemented before GDAL 2.1, so I am going to install GDAL from UbuntuGIS repository. With this considered, I’ll just point the QGIS APT source to Latest Release with UbuntuGIS dependencies to get the most out of everything.

Setup QGIS Suite

Create file /etc/apt/sources.list.d/qgis-ubuntugis-xenial.list with following content.

Setup UbuntuGIS Suite

Where newer version of GDAL resides.

Install QGIS

References

Posted in Technical.

Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha loading...