mirror of https://github.com/miguelmota/cointop
Created Install Go on Ubuntu (markdown)
parent
e6d2e3e7a6
commit
e042f7fea7
@ -0,0 +1,26 @@
|
||||
## Using PPA
|
||||
|
||||
Add PPA, update and install
|
||||
|
||||
```
|
||||
sudo add-apt-repository ppa:gophers/archive
|
||||
sudo apt-get update
|
||||
sudo apt-get install golang-1.10-go
|
||||
```
|
||||
|
||||
[source](https://github.com/golang/go/wiki/Ubuntu)
|
||||
|
||||
## Using GVM
|
||||
|
||||
Install [gvm](https://github.com/moovweb/gvm)
|
||||
|
||||
```bash
|
||||
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
|
||||
```
|
||||
|
||||
Install go
|
||||
|
||||
```bash
|
||||
gvm install go1.10 -B
|
||||
gvm use go1.10
|
||||
```
|
Loading…
Reference in New Issue