How to install QGIS 3 on Ubuntu

The last days I was asked a lot, how and where to install the new QGIS 3.
Until now there are no Windows binaries available (as far as I know…). But you can install and run QGIS 3.0 on Linux.

If you are running Ubuntu 17.10 (artful) or even 18.04 (bionic) (beware, it’s still alpha 😉 ), it is quite easy to install:

Open your terminal and add the following repositories to your sources.list:

for 17.10:

sudo add-apt-repository "deb     https://qgis.org/debian artful main"
sudo add-apt-repository "deb-src https://qgis.org/debian artful main"

 

alternatively, for 18.04:

sudo add-apt-repository "deb     https://qgis.org/debian bionic main"
sudo add-apt-repository "deb-src https://qgis.org/debian bionic main"

 

Add public key:

wget -O - https://qgis.org/downloads/qgis-2017.gpg.key | gpg --import
gpg --fingerprint CAEB3DC3BDF7FB45
gpg --export --armor CAEB3DC3BDF7FB45 | sudo apt-key add -


Update and install QGIS:

sudo apt-get update && sudo apt-get install qgis python-qgis qgis-plugin-grass

Enjoy working with the all-new QGIS 3!

However, as soon as binaries for Windows are out, I would still recommend to use QGIS on Linux. In my opinion it runs a lot more stable and with less problems under Linux (which doesn’t mean it runs unstable under Windows…).

About This Author

Simon is a research assistant in the field of remote sensing at Technical University of Munich (TUM). Currently he is working on methods to describe reed ecosystem parameters with the help of hyperpectral and LiDAR data. Besides geoinformatics he loves to do outdoor activities such as hiking and climbing.

11 Comments

You can post comments in this post.


  • Unfortunately, I realized the lack of features in Linux when compared to QGIS in Windows, due to the outdated versions of QT, QWT and QScintilla such as 3D view. I do not understand why the QGIS installation does not install the latest versions of the required libraries on Linux just like Windows does, and I still can not solve the problem.

    Helio 5 years ago Reply


    • That depends more on your distribution than on QGIS. You can either try it out on a newer distro or to install the required packages manually.

      Simon 5 years ago Reply


      • Ok, Simon. Thank you for the tips! Great Post.

        Helio 5 years ago Reply


  • Is the QGIS with 3d works also on xenial?

    Justin 5 years ago Reply


    • No, not natively. You have to struggle with missing dependencies.
      I recommend to use a newer version of Ubuntu. Besides, waiting for the new LTS in april seems worthwhile.

      Simon 5 years ago Reply


    • You can use ubuntugis repository to install it, no need to use (still) buggy 18.04.

      ad 5 years ago Reply


  • For install SAGA with QGIS 3, Please use ‘saga’ at the end of command as follows:
    sudo apt-get update && sudo apt-get install qgis python-qgis qgis-plugin-grass saga

    Hossein 5 years ago Reply


  • Running on xubuntu 18 04 beta there is a problem. qgis-providers : Depends: qtbase-abi-5-9-4 but it is not installable bionic has 5-9-5 and 5-9-4 is not available

    tim 5 years ago Reply


  • With Linux Mint 18.3 I had to add the ubuntugis ppa in order to meet all of the dependencies.

    jonah sullivan 5 years ago Reply


  • My advice to anyone else who runs into broken dependencies is to check your /etc/apt/sources.list file to make sure the QGIS repository you add matches your ubuntugis PPA

    Jessica Gorzo 4 years ago Reply


  • if signature key fails, do the follow

    To install it, first add the webupd8 repository for this program:

    sudo add-apt-repository ppa:webupd8team/y-ppa-manager

    Update your software list and install Y-PPA-Manager:

    sudo apt-get update
    sudo apt-get install y-ppa-manager

    Run y-ppa-manager (i.e. type y-ppa-manager then press enter key).

    When the main y-ppa-manager window appears, click on “Advanced.”

    From the list of advanced tasks, select “Try to import all missing GPG keys” and click OK.

    You’re done! As the warning dialog says when you start the operation, it may take quite a while (about 2 minutes for me) depending on how many PPA’s you have and the speed of your connection.

    thyago 4 years ago Reply


Post A Reply

*