LoginSignup
32
31

More than 5 years have passed since last update.

UbuntuにGO言語(golang)の最新をapt経由でインストール

Posted at

Ubuntu(15.04)に最新のGO言語をインストールした際のメモ。

基本的にaptでパッケージ管理したかったので、aptからインストールできるか調べてみた。

console
$ apt show golfing
#=> 1.3.1

なにやら古いバージョンが入っているため、最新のGO言語を非公式に公開しているサイトからリポジトリ追加。

console
$ sudo add-apt-repository ppa:evarlast/golang1.4
$ sudo apt-get update

あとはインストール。

console
$ sudo apt-get install golang

バージョンの確認

console
$ go version
#=> go version go1.4.2 linux/amd64

入ったっぽい。

32
31
1

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
32
31