docs/Installation: update commands for untar-anywhere method
This commit is contained in:
parent
440fb7ee90
commit
8398be5cde
@ -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)
|
||||
|
||||
@ -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`.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user