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.3k Golang : Check to see if *File is a file or directory
+6k Golang : How to iterate a slice without using for loop?
+12.4k Golang : Query string with space symbol %20 in between
+7.1k Golang : Find relative luminance or color brightness
+12.5k Javascript : Prompt confirmation before exit
+18.7k Golang : Accept input from user with fmt.Scanf skipped white spaces and how to fix it
+5.9k Golang : Levenshtein distance example
+7.1k Golang : Reverse text lines or flip line order example
+3.5k Javascript : How to show different content with noscript?
+15.8k Golang : XML to JSON example
+3.9k Which content-type(MIME type) to use for JSON data
+3.8k JavaScript : Rounding number to decimal formats to display currency