What Does Homebrew Do?
Sponsored Links:
Homebrew installs the stuff you need that Apple (or your Linux system) didn’t.$ brew install wget
Homebrew installs packages to their own directory and then symlinks their files into /usr/local
.$ cd /usr/local $ find Cellar Cellar/wget/1.16.1 Cellar/wget/1.16.1/bin/wget Cellar/wget/1.16.1/share/man/man1/wget.1 $ ls -l bin bin/wget -> ../Cellar/wget/1.16.1/bin/wget
Homebrew won’t install files outside its prefix and you can place a Homebrew installation wherever you like.
Trivially create your own Homebrew packages.$ brew create https://foo.com/bar-1.0.tgz Created /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/bar.rb

It’s all Git and Ruby underneath, so hack away with the knowledge that you can easily revert your modifications and merge upstream updates.$ brew edit wget # opens in $EDITOR!
Homebrew formulae are simple Ruby scripts:class Wget < Formula homepage "https://www.gnu.org/software/wget/" url "https://ftp.gnu.org/gnu/wget/wget-1.15.tar.gz" sha256 "52126be8cf1bddd7536886e74c053ad7d0ed2aa89b4b630f76785bac21695fcd" def install system "./configure", "--prefix=#{prefix}" system "make", "install" end end
Homebrew complements macOS (or your Linux system). Install your RubyGems with gem
and their dependencies with brew
.
“To install, drag this icon…” no more. brew cask
installs macOS apps, fonts and plugins and other non-open source software.$ brew cask install firefox
Making a cask is as simple as creating a formula.$ brew cask create foo Editing /usr/local/Homebrew/Library/Taps/homebrew/homebrew-ca
We at AppsForMyPC have tested and used Homebrew and it worked pretty smoothly 🙂 🙂