1. Reference: https://github.com/Homebrew/linuxbrew
2.1.1 Debian or Ubuntu:
sudo apt-get install build-essential curl git ruby libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev
sudo yum groupinstall 'Development Tools' && sudo yum install curl git ruby bzip2-devel curl-devel expat-devel ncurses-devel
3. Homebrew Install:
git clone https://github.com/Homebrew/linuxbrew.git ~/.linuxbrew
4. Edit .bashrc (
sudo nano ~/.bashrc ) or .zshrc and add the following 2 lines at the end of the file:
5. and restart the terminal.
basic package install with brew:
brew install $WHATEVER_YOU_WANT
7. Full example help/usage:
brew [info | home | options ] [FORMULA...]
brew install FORMULA...
brew uninstall FORMULA...
brew search [foo]
brew list [FORMULA...]
brew upgrade [FORMULA...]
brew pin/unpin [FORMULA...]
brew install -vd FORMULA
brew [--env | --config]
brew create [URL [--no-fetch]]
brew edit [FORMULA...]
8. Available packages to be used with brew: