Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
24
Help us understand the problem. What is going on with this article?
@Feel-Physics

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

More than 5 years have passed since last update.

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

24
Help us understand the problem. What is going on with this article?
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
Feel-Physics
今はHoloLensのアプリを開発しており、技術記事はすべてブログ( http://weed.nagoya )に書いています。以前はSwift、OpenCV+Python、JavaScript、Objective-Cを書いていました。

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
24
Help us understand the problem. What is going on with this article?