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

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
主站蜘蛛池模板: 如皋市| 沛县| 屏东市| 麻阳| 巴马| 临武县| 北流市| 惠州市| 卓资县| 龙胜| 抚顺县| 定陶县| 镇远县| 伊通| 延吉市| 兰西县| 温州市| 太和县| 磐安县| 邹城市| 安新县| 磴口县| 诸暨市| 杨浦区| 施秉县| 肇东市| 台东市| 南昌市| 渭源县| 岫岩| 通山县| 永修县| 兴城市| 当雄县| 辰溪县| 迭部县| 文昌市| 台湾省| 三门峡市| 无为县| 龙州县|