Different school of thoughts I guess. I would personally prefer my software installs to go under one of either /usr or /opt (certainly when I have root permission). Feels safer and idiomatic that way.
On Tuesday, May 8, 2018 at 1:07:16 AM UTC+5:30, Shawn Milochik wrote: > > On Mon, May 7, 2018 at 3:32 PM, Ankit Gupta <ankit...@redbus.com > <javascript:>> wrote: > >> >> Updating Go is simply a matter of removing old Go installation directory >> and replace it with new one. For your particular use case - >> >> > A better solution (in my opinion) is to decompress the new Go tarball to a > new location (preferably in your $HOME directory) and update the GOROOT in > your .bashrc (or whatever your shell RC) is. > > This allows you to switch back easily if something goes wrong, or keep > multiple versions available at any time so you can try compiling against > different variables just by changing an environment variable. In addition, > in the unlikely event that there are multiple accounts using Go on that > computer, you changing it won't effect any other users. > -- *::DISCLAIMER:: ---------------------------------------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachments are confidential and intended for the named recipient(s) only.E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents(with or without referred errors) shall therefore not attach any liability on the originator or redBus.com. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of redBus.com. Any form of reproduction, dissemination, copying, disclosure, modification,distribution and / or publication of this message without the prior written consent of authorized representative of redbus. <http://redbus.in/>com is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.Before opening any email and/or attachments, please check them for viruses and other defects.* -- *::DISCLAIMER:: ---------------------------------------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachments are confidential and intended for the named recipient(s) only.E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents(with or without referred errors) shall therefore not attach any liability on the originator or redBus.com. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of redBus.com. Any form of reproduction, dissemination, copying, disclosure, modification,distribution and / or publication of this message without the prior written consent of authorized representative of redbus. <http://redbus.in/>com is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.Before opening any email and/or attachments, please check them for viruses and other defects.* -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.