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
+8.7k Javascript : Read/parse JSON data from HTTP response
+26.9k Golang : Read, Write(Create) and Delete Cookie example
+4.5k Golang : Reclaim memory occupied by make() example
+17.7k Golang : convert int to string
+9.3k Golang : How to get quoted string into another string?
+4.5k PHP : Fix Call to undefined function curl_init() error
+3.9k Python : Find out the variable type and determine the type with simple test
+9.1k Golang : Read file and convert content to string
+44.6k Golang : Encode image to base64 example
+5k Facebook : How to force facebook to scrape latest URL link data?
+11.6k Golang : Get terminal width and height example
+4.9k PHP : Get client IP address