Apt-get to install and uninstall Golang
For this short tutorial, we will learn how to install, uninstall Golang with apt-get. We will also explore an interesting program that was created just to manage Golang installations and dependencies - GMV ( Go Version Manager ).
to install Golang
>sudo apt-get install golang
then confirm that the installation is ok
>go version
go version go1.4.2 linux/amd64
to uninstall Golang
>sudo apt-get remove golang
If you prefer use GVM ( https://github.com/moovweb/gvm ), the commands are
>gvm install go1.4.2
>gvm use go1.4.2 --default
to uninstall Golang and GVM
>gvm implode
See also : Mac OSX : Homebrew and Golang
By Adam Ng
IF you gain some knowledge or the information here solved your programming problem. Please consider donating to the less fortunate or some charities that you like. Apart from donation, planting trees, volunteering or reducing your carbon footprint will be great too.
Advertisement
Tutorials
+4.4k Javascript : How to show different content with noscript?
+21.3k Golang : How to get time zone and load different time zone?
+6.4k WARNING: UNPROTECTED PRIVATE KEY FILE! error message
+21.6k Golang : How to read float value from standard input ?
+8.1k Golang : What fmt.Println() can do and println() cannot do
+5.3k Golang : Customize scanner.Scanner to treat dash as part of identifier
+8.2k Golang : Multiplexer with net/http and map
+8.4k Prevent Write failed: Broken pipe problem during ssh session with screen command
+7k Golang : How to solve "too many .rsrc sections" error?
+11.7k Golang : Simple file scaning and remove virus example
+13.5k Golang : Increment string example
+18.4k Golang : Get path name to current directory or folder