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
+21.4k Golang : simulate tail -f or read last line from log file example
+5.8k Golang : Get expvar(export variables) to work with multiplexer
+6.3k Golang : Dealing with postal or zip code example
+4.5k Golang : Intercept, inject and replay HTTP traffics from web server
+6.7k Golang : Reverse a string with unicode
+11.1k Golang : Add ASCII art to command line application launching process
+19.4k Golang : Convert PNG transparent background image to JPG or JPEG image
+4.1k Golang : Check if a word is countable or not
+7.7k nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
+3.5k Javascript : How to show different content with noscript?
+7.4k Android Studio : Image button and button example
+18.9k Nginx + FastCGI + Go Setup.