ponomy
ponomy

Reputation: 21

How to install Go

I want to install Go. I prepared system for support language. But sadly, I can't find Bison and libc6-dev following this command.

sudo apt-get install bison ed gawk gcc libc6-dev make

Then I still can't find the suitable Mercurial for Ubuntu 8.10, which is followed this command.

apt-get install python-setuptools python-dev build-essential

Therefore everyone please guide what I should do in order to install Go completely. My OS is Ubuntu version 8.10. Notice you can post the direct link for me to get packets/files.

Upvotes: 0

Views: 687

Answers (3)

Diana
Diana

Reputation: 1419

In order to install go with Homebrew run the following command on the terminal:

$ brew install golang

To check the version of go run the following command:

$ go version

To see the location run:

$ which go

To uninstall go :

$ sudo apt-get remove golang-go

Upvotes: 0

iainmcgin
iainmcgin

Reputation: 2751

Mercurial can typically be installed with

sudo apt-get install mercurial

The package is in universe, which you may not have enabled. The full guide, if you need it, is available here:

https://help.ubuntu.com/community/Mercurial

Upvotes: 1

Anschel Schaffer-Cohen
Anschel Schaffer-Cohen

Reputation: 911

After installing setuptools et al., the go installation instructions say that you should install mercurial with easy-install, i.e. sudo easy_install mercurial. Are you having trouble with easy_install?

Upvotes: 0

Related Questions