Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how do you show all the files provided by a homebrew formula?

Tags:

macos

homebrew

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?

like image 796
meduz Avatar asked Mar 20 '14 13:03

meduz


People also ask

Where can I find Homebrew files on Mac?

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).

How do I find my brew packages?

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.

What is a formula in Homebrew?

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 .


1 Answers

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.

like image 60
mipadi Avatar answered Nov 15 '22 03:11

mipadi