Skip to content

Instantly share code, notes, and snippets.

@njlr
Last active August 5, 2019 21:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save njlr/ac278ee448dc18002763092724d4e4d4 to your computer and use it in GitHub Desktop.
Save njlr/ac278ee448dc18002763092724d4e4d4 to your computer and use it in GitHub Desktop.
before_install:
# Install Linuxbrew
- git clone https://github.com/Linuxbrew/brew.git $HOME/.linuxbrew
- PATH="$HOME/.linuxbrew/bin:$PATH"
- echo 'export PATH="$HOME/.linuxbrew/bin:$PATH"' >>~/.bash_profile
- export MANPATH="$(brew --prefix)/share/man:$MANPATH"
- export INFOPATH="$(brew --prefix)/share/info:$INFOPATH"
- brew --version
# Install Buck
- brew tap facebook/fb
- brew install buck
- buck --version
@vikikamath
Copy link

Thanks for this writeup. It appears Linuxbrew/brew has been merged into Homebrew/brew I got the following message:

Migrating from Linuxbrew/brew to Homebrew/brew
1142  Linuxbrew/brew has been merged into Homebrew/brew!
1120  Linuxbrew/brew will no longer be updated.
1121  Your git remote has been changed from
1122     https://github.com/Linuxbrew/brew.git
1123  to https://github.com/Homebrew/brew
1124  See the blog post at https://brew.sh/2019/02/02/homebrew-2.0.0/

Ref: https://docs.brew.sh/Homebrew-on-Linux#alternative-installation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment