1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

UbuntuにQGISをインストール

Last updated at Posted at 2024-09-09

備忘録です。

公式Docs

1. 必要なツールをインストールする

sudo apt install gnupg software-properties-common

2. QGIS 署名キーをインストールする

sudo mkdir -m755 -p /etc/apt/keyrings  
sudo wget -O /etc/apt/keyrings/qgis-archive-keyring.gpg https://download.qgis.org/downloads/qgis-archive-keyring.gpg

3. 現在使用しているUbuntuのコードネームは以下のコマンドで確認する

lsb_release -sc

4. 管理者権限でエディタを開く

sudo nano /etc/apt/sources.list.d/qgis.sources

5. 以下の内容をファイル(/etc/apt/sources.list.d/qgis.sources)にコピーして貼り付ける

Types: deb deb-src
URIs: https://qgis.org/debian
Suites: your-distributions-codename
Architectures: amd64
Components: main
Signed-By: /etc/apt/keyrings/qgis-archive-keyring.gpg

Suites: your-distributions-codenameの部分は3で出力したコードネームを記載する

6. リポジトリ情報を更新する

sudo apt update

7. QGISをインストールする

sudo apt install qgis qgis-plugin-grass
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?