Build offline/create Homebrew mirror #2585
Unanswered
oatbrew
asked this question in
Everyday usage
Replies: 1 comment 2 replies
-
By You can download the sources you need with |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When building from source, is it possible to fetch all dependencies and build the binary on an offline system? Or is it possible to create a local mirror of all, or at least the relevant sources?
I think all source files in a formula are referenced by their name and a checksum. Would it be enough to go through the *.db file, download all the sources manually (on something else than MacOS), transfer them to a MacOS system and put them in some location
where Homebrew will find them and start a build?
Or would there be further dependencies which are not directly visible from the db file and which would be downloaded during a normal build process?
Beta Was this translation helpful? Give feedback.
All reactions