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
+7.7k Javascript : Push notifications to browser with Push.js
+15.9k Golang : Get digits from integer before and after given position example
+10.9k Golang : Removes punctuation or defined delimiter from the user's input
+13.1k Golang : List objects in AWS S3 bucket
+9.4k Golang : Web(Javascript) to server-side websocket example
+8.3k Golang : Number guessing game with user input verification example
+8.1k Golang : Multiplexer with net/http and map
+51.2k Golang : Disable security check for HTTPS(SSL) with bad or expired certificate
+17.7k Convert JSON to CSV in Golang
+17.1k Golang : Fix cannot convert buffer (type *bytes.Buffer) to type string error
+28.7k Get file path of temporary file in Go