ubuntu18.04 20.04 22.04 环境下的QGIS安装

Linux下的QGIS安装

截至到2022年8月份,最新的qgis版本是 QGIS (3.26.x Buenos Aires)

参考网址:https://qgis.org/en/site/forusers/alldownloads.html#linux

某些时候上面的官方网址打开超时,在此做备份以防不时之需

Linux

Most linux distributions split QGIS into several packages; you’ll probably need qgis and qgis-python (to run plugins). Packages like qgis-grass (or qgis-plugin-grass), qgis-server can be skipped initially, or installed only when you need them.
Below you find instructions to install per distribution. For most distro’s there are instructions to install QGIS stable and instructions to install a cutting edge QGIS testing build (note the warning).

Debian/Ubuntu

Quickstart

Note
In the section following this one, you will find ALL possible options to install different versions of QGIS in different versions of Debian/Ubuntu. If you have problems, verify there whether your distribution is still supported as the repositories also contain older unsupported distributions with the last QGIS version that was supported. Beware that those might have meanwhile ceased to work.

Here you will simply install the latest stable QGIS (3.26.x Buenos Aires) in your Debian or Ubuntu without having to edit config files.

Note
Although you see ‘Debian’ in some places, this also works for ‘Ubuntu’, as one is actually a symlink to the other on our server.

First install some tools you will need for this instructions:

sudo apt install gnupg software-properties-common
Now install the QGIS Signing Key, so QGIS software from the QGIS repo will be trusted and installed:

wget -qO - https://qgis.org/downloads/qgis-2021.gpg.key | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/qgis-archive.gpg --import
sudo chmod a+r /etc/apt/trusted.gpg.d/qgis-archive.gpg
Add the QGIS repo for the latest stable QGIS (3.26.x Buenos Aires).

Note: “lsb_release -c -s” in those lines will return your distro name:

sudo add-apt-repository "deb https://qgis.org/ubuntu $(lsb_release -c -s) main"
Update your repository information to reflect also the just added QGIS one:

sudo apt update
Now, install QGIS:

sudo apt install qgis qgis-plugin-grass

Note
Add ‘qgis-server’ to this line if you also want to install QGIS Server

posted on   jobgeo  阅读(2264)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· DeepSeek “源神”启动!「GitHub 热点速览」
· 我与微信审核的“相爱相杀”看个人小程序副业
· 微软正式发布.NET 10 Preview 1:开启下一代开发框架新篇章
· 如何使用 Uni-app 实现视频聊天(源码,支持安卓、iOS)
· C# 集成 DeepSeek 模型实现 AI 私有化(本地部署与 API 调用教程)

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8
点击右上角即可分享
微信分享提示