Merge pull request #7661 from MikeMcQuaid/man-url-install

manpage: no longer mention installing from a URL.
This commit is contained in:
Mike McQuaid 2020-05-29 17:27:32 +01:00 committed by GitHub
commit 77e09fc166
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 26 deletions

View File

@ -38,12 +38,6 @@ module Homebrew
Or `brew tap #{tap}` and then `brew install <formula>`. Or `brew tap #{tap}` and then `brew install <formula>`.
Or install via URL (which will not receive updates):
```
brew install https://raw.githubusercontent.com/#{tap.user}/homebrew-#{tap.repo}/master/Formula/<formula>.rb
```
## Documentation ## Documentation
`brew help`, `man brew` or check [Homebrew's documentation](https://docs.brew.sh). `brew help`, `man brew` or check [Homebrew's documentation](https://docs.brew.sh).
MARKDOWN MARKDOWN

View File

@ -97,11 +97,9 @@ can take several different forms:
You can still access these formulae by using a special syntax, e.g. You can still access these formulae by using a special syntax, e.g.
`homebrew/dupes/vim` or `homebrew/versions/node4`. `homebrew/dupes/vim` or `homebrew/versions/node4`.
* An arbitrary file or URL: * An arbitrary file:
Homebrew can install formulae via URL, e.g. Homebrew can install formulae from a local path. It can point to either a
`https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/git.rb`, formula file or a bottle.
or from a local path. It can point to either a formula file or a bottle.
In the case of a URL, the downloaded file will be cached for later use.
## ENVIRONMENT ## ENVIRONMENT

View File

@ -1186,11 +1186,9 @@ can take several different forms:
You can still access these formulae by using a special syntax, e.g. You can still access these formulae by using a special syntax, e.g.
`homebrew/dupes/vim` or `homebrew/versions/node4`. `homebrew/dupes/vim` or `homebrew/versions/node4`.
* An arbitrary file or URL: * An arbitrary file:
Homebrew can install formulae via URL, e.g. Homebrew can install formulae from a local path. It can point to either a
`https://raw.githubusercontent.com/Homebrew/homebrew-core/master/Formula/git.rb`, formula file or a bottle.
or from a local path. It can point to either a formula file or a bottle.
In the case of a URL, the downloaded file will be cached for later use.
## ENVIRONMENT ## ENVIRONMENT

View File

@ -5,14 +5,6 @@
The supported method of installing specific versions of The supported method of installing specific versions of
some formulae is to see if there is a versioned formula (e.g. `gcc@7`) available. If the version youre looking for isnt available, consider using `brew extract`. some formulae is to see if there is a versioned formula (e.g. `gcc@7`) available. If the version youre looking for isnt available, consider using `brew extract`.
### Installing directly from pull requests
You can [browse pull requests](https://github.com/Homebrew/homebrew-core/pulls)
and install through their direct link. For example, Python 3.7.0 from pull request [Homebrew/homebrew-core#29490](https://github.com/Homebrew/homebrew-core/pull/29490):
```sh
brew install https://raw.githubusercontent.com/sashkab/homebrew-core/176823eb82ee1b5ce55a91e5e1bf2f50aa674092/Formula/python.rb
```
## Quickly remove something from `/usr/local` ## Quickly remove something from `/usr/local`
```sh ```sh

View File

@ -1522,8 +1522,8 @@ The fully\-qualified name of a tapped formula
Sometimes a formula from a tapped repository may conflict with one in \fBhomebrew/core\fR\. You can still access these formulae by using a special syntax, e\.g\. \fBhomebrew/dupes/vim\fR or \fBhomebrew/versions/node4\fR\. Sometimes a formula from a tapped repository may conflict with one in \fBhomebrew/core\fR\. You can still access these formulae by using a special syntax, e\.g\. \fBhomebrew/dupes/vim\fR or \fBhomebrew/versions/node4\fR\.
. .
.TP .TP
An arbitrary file or URL An arbitrary file
Homebrew can install formulae via URL, e\.g\. \fBhttps://raw\.githubusercontent\.com/Homebrew/homebrew\-core/master/Formula/git\.rb\fR, or from a local path\. It can point to either a formula file or a bottle\. In the case of a URL, the downloaded file will be cached for later use\. Homebrew can install formulae from a local path\. It can point to either a formula file or a bottle\.
. .
.SH "ENVIRONMENT" .SH "ENVIRONMENT"
Note that environment variables must have a value set to be detected\. For example, run \fBexport HOMEBREW_NO_INSECURE_REDIRECT=1\fR rather than just \fBexport HOMEBREW_NO_INSECURE_REDIRECT\fR\. Note that environment variables must have a value set to be detected\. For example, run \fBexport HOMEBREW_NO_INSECURE_REDIRECT=1\fR rather than just \fBexport HOMEBREW_NO_INSECURE_REDIRECT\fR\.