docs: point to homebrew/install repository.

This saves duplicating the (un)install instructions in multiple places.
This commit is contained in:
Mike McQuaid 2020-04-15 16:15:54 +01:00
parent b11d2b56f7
commit 6e60d3fb59
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70
2 changed files with 2 additions and 13 deletions

View File

@ -48,14 +48,7 @@ or to __disable__ automatic `brew cleanup`:
export HOMEBREW_NO_INSTALL_CLEANUP=1 export HOMEBREW_NO_INSTALL_CLEANUP=1
## How do I uninstall Homebrew? ## How do I uninstall Homebrew?
To uninstall Homebrew, paste the command below in a terminal prompt. To uninstall Homebrew, run the [uninstall script from the Homebrew/install repository](https://github.com/homebrew/install#uninstall-homebrew).
```sh
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
```
Download the [uninstall script](https://raw.githubusercontent.com/Homebrew/install/master/uninstall)
and run `./uninstall --help` to view more uninstall options.
## How do I uninstall a formula? ## How do I uninstall a formula?
If you do not uninstall all of the versions that Homebrew has installed, If you do not uninstall all of the versions that Homebrew has installed,

View File

@ -20,11 +20,7 @@ The Homebrew package manager may be used on Linux and [Windows Subsystem for Lin
## Install ## Install
Paste at a terminal prompt: Instructions for a supported install of Homebrew on Linux are on the [homepage](https://brew.sh).
```sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
```
The installation script installs Homebrew to `/home/linuxbrew/.linuxbrew` using *sudo* if possible and in your home directory at `~/.linuxbrew` otherwise. Homebrew does not use *sudo* after installation. Using `/home/linuxbrew/.linuxbrew` allows the use of more binary packages (bottles) than installing in your personal home directory. The installation script installs Homebrew to `/home/linuxbrew/.linuxbrew` using *sudo* if possible and in your home directory at `~/.linuxbrew` otherwise. Homebrew does not use *sudo* after installation. Using `/home/linuxbrew/.linuxbrew` allows the use of more binary packages (bottles) than installing in your personal home directory.