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

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
主站蜘蛛池模板: 呼图壁县| 高雄县| 珠海市| 贡嘎县| 金湖县| 龙泉市| 东莞市| 怀化市| 团风县| 鹿邑县| 泰顺县| 怀来县| 上思县| 石泉县| 阳江市| 泰和县| 新源县| 潼南县| 武陟县| 溧水县| 离岛区| 怀集县| 达孜县| 武平县| 顺平县| 兴宁市| 澳门| 仙游县| 韶关市| 永和县| 慈利县| 鹤庆县| 朝阳区| 图们市| 双桥区| 东源县| 边坝县| 武功县| 清徐县| 大石桥市| 米易县|