I tried installing a c++ library by doing the following, and got the message below:
What does this mean? Did it install or did it not? I'm new to homebrew. Thanks!
macbook-2:~ ME$ brew install ceres-solver
Error: No available formula for ceres-solver
Searching taps...
homebrew/science/ceres-solver
macbook-2:~ ME$
That is, brew tap username/foobar can be used as a shortcut for the long version: brew tap username/homebrew-foobar. brew will automatically add back the ‘homebrew-‘ prefix whenever it’s necessary. If your tap contains a formula that is also present in homebrew/core, that’s fine, but it means that you must install it explicitly by default.
Homebrew is a term used to describe games and other software developed by consumers of proprietary computer hardware platforms, such as game consoles, that have hardware restrictions and are not usually user-programmable. The development of homebrew software is often for the purposes of expanding the function...
If you ask brew to install a package that does not exist (perhaps because you make a typo), brew will tap homebrew/cask. This seems to be by design: it's part of the process where brew goes looking for what the user asked for in other places (cask, recently deleted formulas, etc.). I don't think that this should be the default.
The prefix ‘homebrew-‘ is not optional. (The two-argument form doesn’t have this limitation, but it forces you to give the full URL explicitly.) When you use brew tap on the command line, however, you can leave out the ‘homebrew-‘ prefix in commands.
From the Homebrew Formula Cookbook:
I suggest starting with the Introduction on the same page.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With