Return to site

Install Golang Ubuntu 17 04

broken image


In this article, we would discuss how to install Go programming language in Ubuntu 20.04 LTS release. The programming language Go first released on November 10, 2009. And, at the time of writing the article, the latest stable release is v1.14.5.

Play price is right online. There are two methods which we would discuss to install the Go programming language –

In order to install Go, you'll need to grab the latest version from the official Go downloads page. On the site you can find the URL for the current binary release's tarball, along with its SHA256 hash. Visit the official Go downloads page and find the URL for the current binary release's tarball, along with its SHA256 hash. However, it is also likely that that package is one or two revisions behind the latest version. And that is the case with Ubuntu 17.04, where the version in the repository is v1.6. The latest version is v1.8.3. So in this tutorial, we'll go through the process of installing Go 1.8.3 on Ubuntu 17.04.

  1. through binary release available on official website of Go, or
  2. standard Ubuntu repository.

We would like to clarify, at the time of writing only v1.13.8 can be installed through standard Ubuntu repository.

Note: Following operations may require you to have superuser privileges. In case you don't have one, then contact your System Administrator for assistance.

Install Golang Ubuntu 17 04 Iso

Install Go in Ubuntu 20.04 LTS release

Method I. through binary release available on official website of Go programming language.

Visit Golang's official website; on the Homepage–> click on Button – Download Go. It would take you to the download page wherein, click on the download link for Linux – go1.14.5.linux-amd64.tar.gz

The file size of approximately 118 MBs would get downloaded. Thereafter, we use tar command-line utility to extract the compressed file. Hence, issue the following in terminal –

It would create a directory go. Now, to set system-wide environment variables – edit ~/.bashrc file –

We have used nano text editor. You can choose any. Next, append the file with following entries –

Ubuntu Install Golang Latest

where, replace /path/to/directory/ with relevant PATH to directory Go.

Lastly, open a new terminal and issue the following to verify the installation –

It should return the following –

Method II. through standard Ubuntu repository. As already discussed, at the time of writing the latest stable release available through this process was – v1.13.8. We need to update the repository first to make the latest version of the package available –

Ubuntu

Then, to install Go programming language – https://msruow.over-blog.com/2021/01/fl-studio-20-plugins.html.

Lastly, to verify the Go version installed –

It should return with –

In conclusion, we have discussed how to install Go programming language in Ubuntu 20.04 LTS release.

Install Golang Ubuntu 17 04 Download

Additional Info –

In this section, we would discuss how to run our first Go code/program in brief. Bluestacks zip installer. Open a text editor and append the file with following code –

And, save the file as hello.go

Next, create a binary executable using go build command –

Ubuntu 18.04 Golang

It would create a binary executable hello in current directory. To execute it –

It should return –





broken image