Migrating Homebrew install from one Macbook to another (both Intel) with brew bundle
: what's a Brewfile, and how to migrate from source filesystem (of a dead MacBook)?
#3664
-
I want to minmally/efficiently understand macOS QUESTION: can someone provide guidance for more efficient understanding/learning (for the above purpose)? Something other than My background I am a long-time (over a decade) macOS-Homebrew user. (I've also dabbled a little with Linux-based Homebrew installs as well.) I know enough to install all sorts of brew-based software (including running services like my own DNS server on macOS), but I'm NOT familiar with the guts of Homebrew. Pls do not treat me as a first-time user; rather please consider me a first time "Homebrew 'guts' evaluator"... or something like that. I certainly have never written a Homebrew software package/formula/etc. I have developed many software packages across many other OS platforms (numerous Unix-es, Linux, Windows, etc), so I am far from "new" to software development and deployment... except on macOS and Homebrew (both). Related discussion https://www.reddit.com/r/MacOS/comments/xh59gd/trying_to_learn_homebrewmacos_usrlocal_layout_for/ |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 16 replies
-
This doesn't answer your question about the structure of directories inside Using |
Beta Was this translation helpful? Give feedback.
-
Any help for the above is greatly appreciated. :-) My first (total) guess: a Brewfile is something akin to a |
Beta Was this translation helpful? Give feedback.
-
Regardless of the Brewfile debate: I need a procedure to migrate the Alas, for now: it seems like I have to "reverse engineer" this understanding from the semi-cryptic (to me, thus far) docs. |
Beta Was this translation helpful? Give feedback.
-
Next question: How do I run a The original/source MacBook is not currently operational--it died--although target-disk-mode on the "dead" MacBook still works... thus far, but I do not want to count on it. I also have (at least) a full copy of the original-MacBook's Reminder: both source and target MacBook's are Intel-based. |
Beta Was this translation helpful? Give feedback.
-
My current perspective: Homebew's inability to run-time manage a non-default-install directory is a major problem for this scenario. It's also arguable that it's not unreasonable for Homebrew to have (some time ago) considered install/file-location modularity (at run time) in its architecture/design, especially given Homebrew's maturity. Alas, mine is a subjective argument. In general, I'm surprised there (appears to be?) no Nonetheless, Homebrew has provided me and my team ENORMOUS (and hard-to-measure) value. Pls do not let my small grip here distract from my HUGE appreciation of the project. :-) |
Beta Was this translation helpful? Give feedback.
-
Here's my answer for this problem (a post I made elsewhere in this discussion thread), for today anyway: https://github.com/orgs/Homebrew/discussions/3664#discussioncomment-3676106 |
Beta Was this translation helpful? Give feedback.
Here's my answer for this problem (a post I made elsewhere in this discussion thread), for today anyway:
https://github.com/orgs/Homebrew/discussions/3664#discussioncomment-3676106