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
+6.9k Golang : Decode XML data from RSS feed
+18k Golang : How to make a file read only and set it to writable again?
+9.8k Golang : Find correlation coefficient example
+13.2k Golang : Handle or parse date string with Z suffix(RFC3339) example
+18.2k Golang : Convert IPv4 address to decimal number(base 10) or integer
+17k Golang : How to generate QR codes?
+24.8k Golang : How to print rune, unicode, utf-8 and non-ASCII CJK(Chinese/Japanese/Korean) characters?
+10.2k Golang : Find and replace data in all files recursively
+12.2k Golang : Detect user location with HTML5 geo-location
+7k Android Studio : Hello World example
+36.4k Golang : Convert(cast) int64 to string
+30.5k Golang : How to verify uploaded file is image or allowed file types