go, aws, amazon linux 2,

How to install Go on Amazon Linux 2

Apr 01, 2022 · 1 min read · Post a comment

Installing Golang on Amazon Linux 2 can be done within a few minutes since Go exists in the default Amazon Linux 2 yum packages. Let’s dive into it.


  • Amazon Linux 2
  • sudo privileges

Install Go on Amazon Linux 2

Step 1. To install the latest version of Go, update packages first.

sudo yum update

Step 2. Install Go.

sudo yum install golang

Step 3. To verify installation, run:

go version


go version go1.15.14 linux/amd64


Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.