Homebrew installs the stuff you need that Apple didn't

Sep 30, 2014 20:47 GMT  ·  By

"Homebrew installs the stuff you need that Apple didn't," this is the Homebrew motto and stands as the best description ever!

Homebrew is using "bottles," each one having its own "formula."

For the regular user, it's really easy to use. It will just tell homebrew to install a "formula" in a "bottle" and, if there is such a case, you can choose the custom formula.

First you must install Homebrew, which is a really easy process.

1. Open Terminal, run this command and follow the on-screen instructions:

code
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2. Run those commands after installation:
code
brew doctor
code
brew update
code
brew upgrade

How to use Homebrew (brew)

The format to install a right "formula" is:

code
brew install FORMULA
*to uninstall a formula, use brew remove FORMULA

If you do not know the "formula" name, you can use the keyword search command:

code
brew search KEYWORD
For example, brew search wget or brew search FFMpeg

If you want to see a list of available "formulas," use this command or browse braumeister.org.

code
ls $(brew --prefix)/Library/Formula
Some formulas have options; to find the available options, use:
code
brew info FORMULA
For example, brew info ffmpeg

When I install ffmpeg, I use these options:

code
brew install ffmpeg --with-fdk-aac --with-ffplay --with-freetype --with-frei0r --with-libass --with-libvo-aacenc --with-libvorbis --with-libvpx --with-opencore-amr --with-openjpeg --with-opus --with-rtmpdump --with-schroedinger --with-speex --with-theora --with-tools --with-x265

Photo Gallery (5 Images)

Brew Install
basic brew commandsman brew command
+2more