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

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
主站蜘蛛池模板: 会昌县| 武陟县| 奇台县| 舟山市| 永定县| 方城县| 沂南县| 清水河县| 盐城市| 丰原市| 博乐市| 桦川县| 霍州市| 榆中县| 澄江县| 隆回县| 鹿泉市| 龙山县| 和顺县| 威远县| 南宫市| 玉山县| 巴塘县| 东港市| 隆昌县| 石屏县| 阿拉善左旗| 南部县| 奉节县| 晋州市| 南投市| 石泉县| 成都市| 新兴县| 白银市| 金山区| 鄂伦春自治旗| 禄劝| 杨浦区| 伊通| 图木舒克市|