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
+1.5k Golang : Launching your executable inside a console under Linux
+10.4k Golang : Close channel after ticker stopped example
+2.6k Golang : Constant and variable names in native language
+12k Golang : How to make function callback or pass value from function as parameter?
+2.5k Python : Delay with time.sleep() function example
+4.5k Golang : Resumable upload to Google Drive(RESTful) example
+8.2k Golang : delete and modify XML file content
+8.7k Golang : How to read float value from standard input ?
+10.2k Golang : Convert seconds to minutes and remainder seconds
+3.5k Golang : Extract or copy items from map based on value
+2.4k Android Studio : Hello World example
+2.5k Golang : Accessing dataframe-go element by row, column and name example