Installation steps for Golang

0 votes
Hi I want to know how to install Golang on windows? Please also mention which version should I download?
Feb 28, 2019 in Others by Pratibha
• 3,690 points
1,154 views

1 answer to this question.

0 votes

Hi Pratibha to install Golang, follow the mentioned steps:

  1. Go to this https://golang.org/dl/ link. Now click the highlighted .msi file:


     
  2.  After completion of download, open the setup file (.msi). Click on 'Next' to start the setup wizard:


     
  3. Next you will see a 'End-User Licence Agreement' screen. Tick on 'Accept' and click 'Next':


     
  4. On the next screen, change the Destination folder by clicking on 'Change' or click on 'Next' to keep the destination folder to default:


     
  5. Finally click on 'Install' to start the installation process:


     
  6. Once the installation is complete, close the setup wizard by clicking 'Finish':


     
  7. Now you have successfully installed Golang on your system. But to use it, you have to setup the environment variable for Go. Follow the steps:
    File Explorer >> This PC >> Right Click & Select 'PROPERTIES' >> Advanced System Settings >> Click Environment Variables:


     
  8. Now click 'New' under 'System Variables' to add new system variable for Go:


     
  9. Set the 'Variable Name' and 'Variable Value' as mentioned below:



    And that's it. You are all set to Go!!! 
answered Feb 28, 2019 by Abha
• 28,140 points
Seems to be an error in the last step, where you set PATH=C:\Go\bin

Shouldn't that be: GO=C:\Go\bin

Hi Steve, setting PATH as C:\Go\bin means you are setting PATH for Go application, where PATH is like a reserved keyword for setting Path for all applications like Java or Python or Go. And it worked fine for me, as you can take a look at this screenshot:

Also, if you will set GO=C:\Go\bin, it still won't set the Path of System Variable and hence, your system won't be able to recognize this application's commands. So the last step is correct.

Related Questions In Others

0 votes
1 answer

Creating custom property for .net assembly

While your compiler does not really support ...READ MORE

answered Nov 13, 2018 in Others by DataKing99
• 8,250 points
690 views
+2 votes
2 answers
0 votes
1 answer

Get files in my own file format for its own dynamic icon

Regarding MAC support, "The Mac and Windows ...READ MORE

answered Jan 8, 2019 in Others by DataKing99
• 8,250 points
1,109 views
0 votes
1 answer

Where is the documentation to refer for coinbase api integration of Etherium coin currency in php?

Hey there! Please refer to the following ...READ MORE

answered Jan 25, 2019 in Others by Omkar
• 69,220 points
845 views
0 votes
0 answers

Wafcoin: Legalization is the cornerstone for long-term development

Wafcoin token trading platform has always insisted ...READ MORE

Jan 29, 2019 in Others by anonymous
659 views
0 votes
1 answer

Golang on Linux... How to install it?

Hey @Abhi, if you want to install ...READ MORE

answered Mar 1, 2019 in Others by Anvi
• 14,150 points
986 views
0 votes
1 answer

Why we are configuring mapred.job.tracker in YARN?

I really dont know the reason behind ...READ MORE

answered Mar 29, 2018 in Big Data Hadoop by Ashish
• 2,650 points
1,858 views
+1 vote
1 answer

Is it possible to access or install tableau desktop insde tableau server?

Try to understand this, Tableau Server and ...READ MORE

answered Mar 30, 2018 in Tableau by xyz
• 1,560 points

edited Mar 30, 2018 by xyz 857 views
0 votes
1 answer

What are the hardware requirements for installing Hadoop on my Laptop?

You can either install Apache Hadoop on ...READ MORE

answered Apr 10, 2018 in Big Data Hadoop by Shubham
• 13,490 points
8,065 views
0 votes
1 answer

Need help with Perl Installation

Hi, Perl installation steps are as follows: Go ...READ MORE

answered Feb 28, 2019 in Others by Abha
• 28,140 points
783 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP