How to install two formulas with the same name? #4782
Unanswered
kud
asked this question in
Everyday usage
Replies: 1 comment 8 replies
-
You sure about that? $ tar tvf ~/Downloads/spr_linux_arm64.tar.gz
-rw-r--r-- runner/staff 1072 2023-09-08 07:59 LICENSE
-rw-r--r-- runner/staff 10609 2023-09-08 07:59 readme.md
-rwxr-xr-x runner/staff 8323072 2023-09-08 08:00 git-spr
-rwxr-xr-x runner/staff 6356992 2023-09-08 08:01 git-amend
-rwxr-xr-x runner/staff 3473408 2023-09-08 08:01 spr_reword_helper so I'm not seeing a name clash here. In the general case, though, when you have multiple third-party formulae with conflicting file names, there's no elegant solution: either someone has to rename their files, or you'll have to do the unlink two-step you described. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description of issue
Hello Homebrew community,
I recently stumbled upon two projects which are both available via Homebrew:
The issue is that both projects have the same command name spr. I was wondering how I could install both of them and perhaps rename one of the installed binaries to spr2.
I considered an approach where I install one, unlink it, install the other, and then link the first one again. After this, I thought about creating a symlink for the second one with the name spr2. But I'm wondering if there's a more elegant or recommended way to achieve this via Homebrew.
Any guidance would be much appreciated!
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions