Answers for "install go on linux"

12

how to install golang on ubuntu

#go to your home directory and get the golang tarball using curl
cd ~
#change "go1.15.2" to whatever version you want
curl -O https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz

#extract the download using tar
tar xvf go1.15.2.linux-amd64.tar.gz

#move the go install to /usr/local
sudo chown -R root:root ./go
sudo mv go /usr/local

#set up your go paths
sudo nano ~/.profile

#add these at the end of the file
#change "$HOME/go" to wherever you will be doing your projects
export GOPATH=$HOME/go
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin

#save the file and exit

#apply the changes to your terminal
source ~/.profile

#you're good to Go :)
Posted by: Guest on October-15-2020
11

install homebrew on mac

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Posted by: Guest on January-15-2020
0

install go linux

rm -rf /usr/local/go && tar -C /usr/local -xzf go1.16.4.linux-amd64.tar.gz
Posted by: Guest on May-18-2021
0

asp.netcore: develop on win10 run on ubuntu

dotnet publish **path to your solution** --configuration Release --framework netcoreapp3.0 --output .**output path** --self-contained false --runtime linux-x64 --verbosity quiet
Posted by: Guest on March-23-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language