diff --git a/Install-Go-on-Ubuntu.md b/Install-Go-on-Ubuntu.md new file mode 100644 index 0000000..1424602 --- /dev/null +++ b/Install-Go-on-Ubuntu.md @@ -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 +``` \ No newline at end of file