An experimental fork of Homebrew for Linux.
- Can install software to a home directory and so does not require sudo
- Install software not packaged by the native distribution
- Install up-to-date versions of software when the native distribution is old
- Use the same package manager to manage both your Mac and Linux machines
- Debian or Ubuntu:
sudo apt-get install build-essential curl git ruby libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev
- Fedora:
sudo yum groupinstall 'Development Tools' && sudo yum install curl git ruby bzip2-devel curl-devel expat-devel ncurses-devel zlib-devel
git clone https://github.com/Homebrew/linuxbrew.git ~/.linuxbrew
- Add to your
.bashrc
or.zshrc
:
export PATH="$HOME/.linuxbrew/bin:$PATH"
export LD_LIBRARY_PATH="$HOME/.linuxbrew/lib:$LD_LIBRARY_PATH"
brew install $WHATEVER_YOU_WANT
- Ruby 1.8.6 or newer
- You can browse the Formula directory on GitHub.
- Or type
brew search
for a list. - Or visit braumeister.org to browse packages online.
brew help
or man brew
or check our wiki.
First, please run brew update
and brew doctor
.
Second, read the Troubleshooting Checklist.
If you don't read these it will take us far longer to help you with your problem.
Homebrew is maintained by the core contributors.
Homebrew was originally created by Max Howell.
Code is under the BSD 2 Clause (NetBSD) license.
We accept tips through Gittip.