Homebrew Install vs Official Installer

polaris · · 452 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Hello!</p> <p>So I read something on Hackernews about there being some conflict with the way homebrew installs Go vs the official installer. Is this still the case? Can I safely install and use Go via homebrew or am I better off using the official installer? </p> <p>Also, can anyone recommend vim (neovim) plugins for Go?</p> <p>Thanks!</p> <hr/>**评论:**<br/><br/>ChristophBerger: <pre><p>I use Homebrew since quite a while for maintaining Go on my Mac. I never had any issues with it.</p> <p>Also, the formula has always been very up to date. As far as I remember, whenever a new Go version or patch was released, the formula usually was updated within a day. </p></pre>Zombayz: <pre><p>Good to know, thanks for your input!</p></pre>peterbourgon: <pre><p>Homebrew works great, and has for several point releases. I&#39;m not sure where the FUD started, but I&#39;d love to find out...</p></pre>sh41: <pre><p>If you&#39;re okay waiting a day for the latest release to come out, then using Homebrew is completely fine. If you don&#39;t want to be forced to wait a day, official installer is probably a better fit for your needs.</p></pre>peterbourgon: <pre><p>See, this? This is FUD. 1.8 was available on Homebrew within hours of the official release, not a day.</p></pre>LadyDascalie: <pre><p>While I am no expert, and therefore can&#39;t go into much details, my experience is that the official installer has made my experience better.</p> <p>I&#39;ve had issues with Delve or other packages that would refuse to work properly, when I ended up switching to the official installer those problems went away.</p> <p>I may have had a way to fix those issues, but frankly, I&#39;d rather get on with my day than noodle around configuring stuff.</p> <p>My vote goes for the official installer in that case!</p></pre>Zombayz: <pre><p>Thanks! I&#39;ll just go that route then. I hope that both the Homebrew and Golang teams can fix whatever is going on. Using an installer is sort of archaic, haha!</p></pre>LadyDascalie: <pre><p>At the same time it&#39;s super convenient, just grab it and you&#39;re good with the new default GOPATH etc... No config required, for me that was a big plus.</p></pre>mcandre: <pre><p>I like the github.com/moovweb/gvm installer, as it helps to manage multiple versions of Go, in case you ever deal with older and newer Go projects</p></pre>Zombayz: <pre><p>Awesome, I use NVM so I guess this is the equivalent for Go :)</p></pre>itsmontoya: <pre><p>I personally think homebrew is awful. The official installer is super nice on OSX, go with that.</p></pre>Zombayz: <pre><p>What do you use as a package manager? Assuming you&#39;re on a Mac.</p></pre>itsmontoya: <pre><p>I&#39;m on Linux. When I used a Mac, I would just compile shit myself</p></pre>warpandas: <pre><p>I guess you probably &#34;compile shit yourself&#34; on Linux instead of using yum or apt-get too. Damn you&#39;re so hardcore. </p></pre>itsmontoya: <pre><p>Nah, I&#39;ll gladly use pacman or yum. I just didn&#39;t like any of the options on OSX. Keeping go and rust up to date is easy enough without</p></pre>4ad: <pre><p>Homebrew is cancer.</p></pre>Zombayz: <pre><p>What are your issues with it? MacOS doesn&#39;t have an official package manager :(</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

452 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传