Created
May 31, 2021 19:07
-
-
Save iliion/3a3b7a5d0d9eefe525cc45c97e5471c4 to your computer and use it in GitHub Desktop.
{Debian 8|9|10} Install GO
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Download Latest Go Binary | |
wget https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz | |
# Install Go Language | |
sudo tar -C /usr/local -xzf go1.13.4.linux-amd64.tar.gz | |
# Add /usr/local/go/bin to the PATH | |
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.profile | |
# Activate the environment variable to the current shell session using the following command. | |
source ~/.profile | |
# Check | |
go version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment