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
+5.4k WARNING: UNPROTECTED PRIVATE KEY FILE! error message
+9.5k Golang : How to unmarshal JSON inner/nested value and assign to specific struct?
+5k Linux/MacOSX : Search for files by filename and extension with find command
+61.4k Golang : Convert HTTP Response body to string
+7.4k Python : Fix SyntaxError: Non-ASCII character in file, but no encoding declared
+9.3k Golang : Generate random integer or float number
+4.8k Linux : Disable and enable IPv4 forwarding
+9.7k Golang : Fix - does not implement sort.Interface (missing Len method)
+20.7k Golang : How to run Golang application such as web server in the background or as daemon?
+23.7k Golang : Storing cookies in http.CookieJar example
+20.5k Golang : Use TLS version 1.2 and enforce server security configuration over client
+9.7k Golang : Create Temporary File