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 :)
Also in C++:
- java check jre version
- how to install postman in ubuntu
- suid privilege escalation systemctl
- update node version debian
- install httpie linux
- react natibe debugger
- for loop while loop shell functions
- openssl ubuntu random string generator
- move word shell unix
- git check first commit
- install zlib ubuntu
- com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException
- git how to roll back to a commit
- psycopg2 error install
- realtek rtl8812au ubuntu
- install socket.io
- git checkout -b
- check if cmake is installed windows
- how to exit vi in linux
- how to get rid of the start up screen on your pyinstaller .exe file
- convert all files to lowercase using shell script
- script to kill a process in windows
- git add file to last commit
- dependencies needed for kernel edit linux amd64