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
+3.4k Golang : Scan forex opportunities by Bollinger bands
+2.3k Detect if Google Analytics and Developer Media are loaded properly or not
+5.8k Golang : Ordinal and Ordinalize a given number to the English ordinal numeral
+26k Golang : Strip slashes from string example
+9.8k Golang : Validate email address
+3.2k Golang : Convert an executable file into []byte example
+3.1k Golang : How to write backslash in string?
+3.4k Golang : How to detect if a sentence ends with a punctuation?
+5.4k Golang : Find network service name from given port and protocol
+7.6k Golang : How to tokenize source code with text/scanner package?
+10k Golang : Force download file example
+3k JQuery : Calling a function inside Jquery(document) block