Linuxbrew is a fork of Homebrew, the Mac OS package manager, for Linux.
Features, usage and installation instructions are summarised on the homepage.
Install Linuxbrew (tl;dr)
Paste at a Terminal prompt:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"See Dependencies and Installation below for more details.
Features
- 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
Dependencies
- Ruby 1.8.6 or newer
- GCC 4.2 or newer
- 64-bit x86 platform
Paste at a Terminal prompt:
Debian or Ubuntu
sudo apt-get install build-essential curl git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev
Fedora, CentOS or Red Hat
sudo yum groupinstall 'Development Tools' && sudo yum install curl git irb m4 ruby texinfo bzip2-devel curl-devel expat-devel ncurses-devel zlib-devel
32-bit x86 platforms
Linuxbrew does not currently support 32-bit x86 platforms nor platforms other than x86. It would be possible for Linuxbrew to work on 32-bit x86 platforms with some effort. Pull requests would be welcome if someone were to volunteer to maintain the 32-bit x86 support.
Installation
Paste at a Terminal prompt:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/linuxbrew/go/install)"Or if you prefer:
git clone https://github.com/Homebrew/linuxbrew.git ~/.linuxbrewAdd to your .bashrc or .zshrc:
export PATH="$HOME/.linuxbrew/bin:$PATH" export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH" export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"
You're done!
brew install $WHATEVER_YOU_WANTWhat Packages Are Available?
- Type
brew searchfor a list. - Or visit braumeister.org to browse packages online.
- Or use
brew search --descto browse packages from the command line.
More Documentation
brew help, man brew or check our documentation.
Troubleshooting
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.
Something broke!
Many of the Homebrew formulae work on either Mac or Linux without changes, but some formulae will need to be adapted for Linux. If a formula doesn't work, open an issue on GitHub or, even better, submit a pull request.
Security
Please report security issues to security@brew.sh.
This is our PGP key which is valid until June 17, 2016.
- Key ID:
0xE33A3D3CCE59E297 - Fingerprint:
C657 8F76 2E23 441E C879 EC5C E33A 3D3C CE59 E297 - Full key: https://keybase.io/homebrew/key.asc
Who Are You?
Linuxbrew is maintained by Shaun Jackman.
Homebrew's current maintainers are Misty De Meo, Adam Vandenberg, Xu Cheng, Mike McQuaid, Baptiste Fontaine, Brett Koonce, Dominyk Tiller, Tim Smith and Alex Dunn.
Homebrew was originally created by Max Howell.
License
Code is under the BSD 2 Clause (NetBSD) license.
Donations
We accept tips through Gratipay.
Shaun Jackman for Linuxbrew
Homebrew
Sponsors
Our CI infrastructure was paid for by our Kickstarter supporters.
Our CI infrastructure is hosted by The Positive Internet Company.
Our bottles (binary packages) are hosted by Bintray.
