Skip to content

Instantly share code, notes, and snippets.

@iliion
Created May 31, 2021 19:07
Show Gist options
  • Save iliion/3a3b7a5d0d9eefe525cc45c97e5471c4 to your computer and use it in GitHub Desktop.
Save iliion/3a3b7a5d0d9eefe525cc45c97e5471c4 to your computer and use it in GitHub Desktop.
{Debian 8|9|10} Install GO
#!/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