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
+14.7k Golang : package is not in GOROOT during compilation
+29.2k Golang : Login(Authenticate) with Facebook example
+9k Golang : How to check if a string with spaces in between is numeric?
+8.2k Golang : Generate Datamatrix barcode
+17k Golang : When to use init() function?
+5.8k PHP : How to check if an array is empty ?
+12.9k Golang : How to get a user home directory path?
+6.3k Golang : Convert an executable file into []byte example
+7.6k Golang : Load DSA public key from file example
+7.6k Golang : Get today's weekday name and calculate target day distance example
+9k Golang : Temperatures conversion example
+5.3k Golang : Display advertisement images or strings on random order