I wish to know the list of files that are provided (e.g. libcaca
) to know if a given file will ba present (in that case, `/usr/local/cacaview
)
how do I achieve that?
By default, Homebrew will install all packages in the directory /usr/local/Cellar/ , and also creates symbolic links at /usr/local/opt/ and /usr/local/bin/ (for executable files).
brew search <search term> will list the possible packages that you can install. brew search post will return multiple packages that are available to install that have post in their name. brew info <package name> will display some basic information about the package in question. Save this answer.
A formula provides instructions and metadata for Homebrew to install a piece of software. Every Homebrew formula is a Formula. All subclasses of Formula (and all Ruby classes) have to be named UpperCase and not-use-dashes .
There's no way to know what files are provided by a formula until you install it, but once installed, you can run
$ brew ls -v <formula>
to list all the files it provides.
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