diff --git a/docs/Homebrew-on-Linux.md b/docs/Homebrew-on-Linux.md index 23a99feca9..f7a0e0e910 100644 --- a/docs/Homebrew-on-Linux.md +++ b/docs/Homebrew-on-Linux.md @@ -78,17 +78,6 @@ You may need to install your own Ruby using your system package manager, a PPA, Homebrew does not currently support 32-bit x86 platforms. It would be possible for Homebrew to work on 32-bit x86 platforms with some effort. An interested and dedicated person could maintain a fork of Homebrew to develop support for 32-bit x86. -## Alternative Installation - -Extract or `git clone` Homebrew wherever you want. Use `/home/linuxbrew/.linuxbrew` if possible (to enable the use of binary packages). - -```sh -git clone https://github.com/Homebrew/brew ~/.linuxbrew/Homebrew -mkdir ~/.linuxbrew/bin -ln -s ~/.linuxbrew/Homebrew/bin/brew ~/.linuxbrew/bin -eval "$(~/.linuxbrew/bin/brew shellenv)" -``` - ## Homebrew on Linux Community - [@HomebrewOnLinux on Twitter](https://twitter.com/HomebrewOnLinux) diff --git a/docs/Installation.md b/docs/Installation.md index de7cefd2e7..ee86685e7b 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -53,6 +53,20 @@ here. *Pick another prefix at your peril!* mkdir homebrew && curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew ``` +or + +```sh +git clone https://github.com/Homebrew/brew homebrew +``` + +then + +```sh +eval "$(homebrew/bin/brew shellenv)" +brew update --force --quiet +chmod -R go-w "$(brew --prefix)/share/zsh" +``` + ### Multiple installations Create a Homebrew installation wherever you extract the tarball. Whichever `brew` command is called is where the packages will be installed. You can use this as you see fit, e.g. a system set of libs in the default prefix and tweaked formulae for development in `~/homebrew`.