官术网_书友最值得收藏!

  • Learn QGIS
  • Andrew Cutts Anita Graser
  • 232字
  • 2021-06-10 19:19:52

Installing on Ubuntu

On Ubuntu, the QGIS project provides packages for the LTR, LR, and DEV versions. For this book, we recommend installing the LTR version of 3.4 if available (release date: February 2019).

To avoid conflicts that may occur due to incompatible packages, make sure that you only add one of the following package source options. The specific lines that you have to add to the source list depend on your Ubuntu version. The following version is latest release for Debian stretch:

deb     https://qgis.org/debian stretch main
deb-src https://qgis.org/debian stretch main

After choosing the repository, we will add the qgis.org repository's public key to our apt keyring. This will avoid the warnings that you might otherwise get when installing from a non-default repository. Run the following command in the terminal:

wget -O - https://qgis.org/downloads/qgis-2017.gpg.key | gpg --import
gpg --fingerprint CAEB3DC3BDF7FB45
gpg --export --armor CAEB3DC3BDF7FB45 | sudo apt-key add -
You might need to make adjustments based on your system. For an updated list of supported Ubuntu versions, check out http://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu. By the time this book goes to print, the key information might have changed. Refer to http://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu for the latest updates .

Finally, to install QGIS, run the following commands. The first will fetch any updates to packages on your system, and the second will install QGIS, the python library, and the grass plugins:

sudo apt-get update
sudo apt-get install qgis python-qgis qgis-plugin-grass
主站蜘蛛池模板: 冀州市| 丹江口市| 开江县| 广灵县| 连云港市| 东港市| 普安县| 巩义市| 荔波县| 闽侯县| 白银市| 佛山市| 怀安县| 拉萨市| 霍州市| 岚皋县| 南昌市| 南投市| 清丰县| 华阴市| 阿拉善右旗| 奉节县| 呼图壁县| 平度市| 青神县| 巴楚县| 务川| 武乡县| 台安县| 竹山县| 新干县| 弋阳县| 枞阳县| 阳高县| 格尔木市| 石屏县| 凤翔县| 沾化县| 武平县| 锦州市| 田林县|