Debian/Raspbian install QGIS 3.x

那年仲夏 提交于 2019-12-07 02:01:29

Alternative to building from source.

Issue: with the QGIS install instructions (assuming I followed them correctly) - it was unable to find the python3-qgis package.

Solution: basically use a different mirror than what the install recommends.

Starting from a fresh Raspbian Stretch with Desktop install.

Run: sudo apt-get update

Run: sudo nano /etc/apt/sources.list

  • Uncomment the deb-src line (not sure this matters).

  • Add the following line: "deb http://ftp.debian.org/debian sid main" (alternative mirrors can be found here).

Run: sudo apt-get update

Run: sudo apt-get install qgis python3-qgis qgis-plugin-grass

  • This will install ~300 packages, and can take a while (~4min to download for me). After the download there is a changelog/notice that must be read (keep pressing return then q). Soon after starting the download there is a prompt...once you're past that you should be safe to step away while it installs.

Once done you can launch QGIS (3.4 Madeira LTR as of this writing) by simply typing qgis from the terminal.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!