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 Golang : Gorilla web tool kit schema example
+13.4k Golang : How to get year, month and day?
+11.5k Golang : Surveillance with web camera and OpenCV
+14k Golang : Fix image: unknown format error
+13k Golang : Handle or parse date string with Z suffix(RFC3339) example
+19.3k Golang : Fix cannot download, $GOPATH not set error
+19.9k Golang : How to run your code only once with sync.Once object
+18k Golang : Put UTF8 text on OpenCV video capture image frame
+5.3k Golang : Intercept, inject and replay HTTP traffics from web server
+13.4k Golang : Qt progress dialog example
+46.3k Golang : Encode image to base64 example
+17.8k Golang : Simple client server example