Created
December 1, 2020 16:56
-
-
Save TheBinitGhimire/869ab1be63b1cf9a8e71d4a8b012998c to your computer and use it in GitHub Desktop.
Revisions
-
TheBinitGhimire created this gist
Dec 1, 2020 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ #!/bin/bash # Install Go on Ubuntu and Debian-based Linux distributions! : ' Perform the following: 1. chmod +x go.sh; 2. ./go.sh; OR 1. bash go.sh; ' wget https://golang.org/dl/go1.15.5.linux-amd64.tar.gz; tar -xvf go1*; mv go /usr/local; rm go1*.gz; echo -e "export GOPATH=\$HOME/go\nexport GOROOT=/usr/local/go\nexport PATH=/usr/local/sbin/:\$GOPATH/bin:\$GOROOT/bin:\$PATH\n" >> ~/.*shrc source ~/.*shrc;