![]() To achieve this we need to add a line to. Now You have to set Environment Variables so you can use the go command from anywhere. ![]() Here is the most straight forward and simple method I found to install go on Ubuntu 14.04 without any ppa or any other tool. Set Go workspace to the environment variable: GOPATH=~/.goĪpply the. # set PATH so it includes user's private bin directories # for ssh logins, install and configure the libpam-umask package. # the default umask is set in /etc/profile for setting the umask # the files are located in the bash-doc package. # see /usr/share/doc/bash/examples/startup-files for examples. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login profile file in the home path with this content: # ~/.profile: executed by the command interpreter for login shells. ![]() Install the latest version of Go: sudo add-apt-repository ppa:longsleep/golang-backportsĬreate the. Remove the existing Go version: sudo apt-get purge golang* I use this instruction to install the latest version of
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |