Help us understand the problem. What is going on with this article?

HomebrewでGo 1.6を入れる

More than 3 years have passed since last update.

2016-02-18時点で既に公式が更新されています

Formulaの編集を元に戻す場合は以下実行、

$ cd /usr/local/Library/Formula/
$ git checkout -f go.rb

さらに公式のFormulaに従ってgo 1.6を入れ直す場合は以下です。

$ rm -rf /usr/local/Cellar/go/1.6
$ brew upgrade go

多分数日で無用になると思うけどメモ

$ brew edit go

でdevelブロックを編集

  devel do
    #以下を差し替える
    url "https://storage.googleapis.com/golang/go1.6.src.tar.gz"
    version "1.6"
    sha256 "a96cce8ce43a9bf9b2a4c7d470bc7ee0cb00410da815980681c8353218dcf146"
  end

アップグレードを実行(未だgoを入れていない場合は brew install ...

$ brew upgrade --devel go
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした