34
28

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

brew installでError: No available formulaが返るとき

Posted at

MacのHomebrewのお話。

$ brew install <package name>

Error: No available formula for <package name>

というエラーが返ってくるときは、

$ brew search <package name>

とやる。たとえばopencvなら、

homebrew/science/opencv

と返ってくるので、以下のようにhomebrew/scienceのパッケージ情報を更新する。

brew tap homebrew/science

するとこんな情報が表示され・・・

Cloning into '/usr/local/Library/Taps/homebrew/homebrew-science'...
remote: Counting objects: 8057, done.
remote: Compressing objects: 100% (27/27), done.
remote: Total 8057 (delta 11), reused 1 (delta 0)
Receiving objects: 100% (8057/8057), 1.99 MiB | 768.00 KiB/s, done.
Resolving deltas: 100% (4463/4463), done.
Checking connectivity... done.
Warning: Could not tap homebrew/science/itsol over Homebrew/homebrew/itsol
Warning: Could not tap homebrew/science/newick-utils over Homebrew/homebrew/newick-utils
Warning: Could not tap homebrew/science/openfst over Homebrew/homebrew/openfst
Warning: Could not tap homebrew/science/opengrm-ngram over Homebrew/homebrew/opengrm-ngram
Warning: Could not tap homebrew/science/salt over Homebrew/homebrew/salt
Tapped 410 formulae

これで晴れて$ brew install opencvできるようになる。


ブログ書いています:Weed software

34
28
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
34
28

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?