Skip to content

Commit

Permalink
Update Go Installation
Browse files Browse the repository at this point in the history
  • Loading branch information
shafikshaon committed Jun 5, 2023
1 parent 23760d8 commit 7d2d484
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions linux_environment_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,9 @@ install_golang() {
printf "\n"
center "Installing Go..."
printf "\n"
wget -c https://dl.google.com/go/go1.20.4.linux-amd64.tar.gz -O - | sudo tar -xz -C /usr/local
printf "Add this 'export PATH=$PATH:/usr/local/go/bin' in path variable. ex ~/.profile"
wget -c https://dl.google.com/go/go1.20.4.linux-amd64.tar.gz
sudo tar -xz -C /usr/local -f go1.20.4.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
printf "\n"
center "Go installed successfully."
printf "\n"
Expand Down

0 comments on commit 7d2d484

Please sign in to comment.