jasgrand.blogg.se

How to install virtualbox on ubuntu 20.04
How to install virtualbox on ubuntu 20.04





how to install virtualbox on ubuntu 20.04

Open your favourite text editor again, and create a file with the following contents: package mainįmt.Println("Hello, World! I've Just Installed Go On Ubuntu!") Looks good! Testing the Go Install on Ubuntuįinally, we can test Go is working correctly by creating and running a simple hello world program. Test it by running the go version command: $ go version With that done it should be possible to run the Go command. bashrc file using your favourite text editor: export GOPATH=$HOME/goĮxport PATH=$PATH:/usr/local/go/bin:$GOPATH/bin To do so, as your non-root user, add the following two lines to your. Next we need to add the Go binary to our path so that we can run Go easily. Now that we have the file we can ‘install’ it by unzipping it to our /usr/local folder: $ tar -C /usr/local -xzf go1.17.5.Ĭheck that has worked ok by listing the contents of the newly created Go directory: $ ls /usr/local/goĪUTHORS CONTRIBUTORS PATENTS SECURITY.md api codereview.cfg lib pkg testĬONTRIBUTING.md LICENSE README.md VERSION bin doc misc src

how to install virtualbox on ubuntu 20.04

The file should then download: Resolving go.dev (go.dev). I will use wget to download the file into my Ubuntu systems /tmp folder: $ cd /tmp To do so I want to right click the hyperlink, and copy it. As I am looking to install Go on Linux, I want to download the go1.17.5. file.







How to install virtualbox on ubuntu 20.04