docs/FAQ: ensure homebrew/core is downloaded
This commit is contained in:
parent
6dfacae5d2
commit
a63cee48e3
22
docs/FAQ.md
22
docs/FAQ.md
@ -88,16 +88,6 @@ If available, bottled binaries will be used by default except under the followin
|
||||
|
||||
We aim to bottle everything.
|
||||
|
||||
## How do I get a formula from someone else’s pull request?
|
||||
|
||||
```sh
|
||||
brew install hub
|
||||
brew update
|
||||
cd "$(brew --repository homebrew/core)"
|
||||
hub fetch github_username
|
||||
hub pr checkout pull_request_number
|
||||
```
|
||||
|
||||
## Why should I install Homebrew in the default location?
|
||||
|
||||
Homebrew's pre-built binary packages (known as [bottles](Bottles.md)) of many formulae can only be used if you install in the default installation prefix, otherwise they have to be built from source. Building from source takes a long time, is prone to failure, and is not supported. The default prefix is:
|
||||
@ -158,6 +148,18 @@ Yes! It’s easy! If you already have a local copy of `homebrew/core` (see above
|
||||
|
||||
If you want your new formula to be part of `homebrew/core` or want to learn more about writing formulae, then please read the [Formula Cookbook](Formula-Cookbook.md).
|
||||
|
||||
## How do I get a formula from someone else’s pull request?
|
||||
|
||||
Ensure you have a [local copy of `homebrew/core`](#can-i-edit-formulae-myself), then:
|
||||
|
||||
```sh
|
||||
brew update
|
||||
brew install hub
|
||||
cd "$(brew --repository homebrew/core)"
|
||||
hub fetch github_username
|
||||
hub pr checkout pull_request_number
|
||||
```
|
||||
|
||||
## Why was a formula deleted or disabled?
|
||||
|
||||
Use `brew log <formula>` to find out! Likely because it had [unresolved issues](Acceptable-Formulae.md) and/or [our analytics](https://formulae.brew.sh/analytics/) indicated it was not widely used.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user