Qgis2 installing on Ubuntu 18.04 issue with plugin due qtwebkit4

Asked by marcobra (Marco Braida) on 2018-09-27

when i try to install qgis2 on ubuntu 18.04 bionic some plugins do not install itself cause a qtwebkit4 issue related
for example the Open Layers, qgis2web etc. plugins

i send here the question only to post complete solution to this issue... here

thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu qgis Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
2018-09-27
Last query:
2018-09-27
Last reply:

Please open a terminal and do this:

First remove old installed qgis2 packages:

sudo apt-get remove python-qgis* qgis* qgis-plugin-* libqgis*; sudo apt-get autoremove

in /etc/apt/sources.list add at the end of file:

deb https://qgis.org/ubuntu-ltr bionic main
deb-src https://qgis.org/ubuntu-ltr bionic main

import gpg repository key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key CAEB3DC3BDF7FB45

and install

sudo apt-get update; sudo apt-get install qgis python-qgis qgis-plugin-grass; sudo apt-get -f install; sudo apt-get autoremove