how to install multiple instances of a formula? #4070
Replies: 3 comments 14 replies
-
No, formula are unique by name. If you want to install the same software twice you will need to make a copy with a new name. |
Beta Was this translation helpful? Give feedback.
-
to make sure I understood that, is this what I need to do to have 2 instances of formula example named example-a and example-b: brew tap my/example-a https://github.com/repouser/reponame and then to have both instances installed simultaneously, I would need to rename the formula, too, not just the tap? cd /usr/local/Homebrew/Library/Taps/my/homebrew-example-a cd /usr/local/Homebrew/Library/Taps/my/homebrew-example-b Questions that come to my mind (as I have zero experience with maintaining formulae): |
Beta Was this translation helpful? Give feedback.
-
lets assume we want two different instances of RfidResearchGroup/homebrew-proxmark3, one using "--with-generic" and one using "--with-blueshark" After creating 2 new taps using the extract command I used the edit command to change the class name in both proxmark3.rb files to "Proxmark3-GENERIC" and "Proxmark3-RDV4", respectively. Also I renamed the proxmark3.rb files to proxmark3-generic.rb and proxmark3-rdv4.rb, respectively. After that, the install command wouldn't work and complain that the options "--with-generic" or "--with-blueshark" are unknown. Obviously I missed to change something else, but I don't know what that would be. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
greetings, I would like to install 2 differently parameterized instances of a given formula, so that each instance has a different name and each may be used independently of each other, i.e. there is no need to uninstall the formula and to install it newly with different parameters.
can this be achieved? f so, a pointer to a document describing this would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions