0
0

More than 1 year has passed since last update.

Golang 最新版を Amazon Linux2 へインストールする

Posted at

Golang 最新版はこちら

執筆時点の最新版は 1.18.3 でした

wget https://go.dev/dl/go1.18.3.linux-amd64.tar.gz

ファイルを解凍します

sudo tar -C /usr/local -xzf go1.18.3.linux-amd64.tar.gz

パスを追加します

echo 'export PATH=$PATH:/usr/local/go/bin' >> .bash_profile

確認

source ~/.bash_profile
go version

結果

go version go1.18.3 linux/amd64
0
0
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
0
0