Possible to blacklist packages? #1908
Unanswered
mathomp4
asked this question in
Everyday usage
Replies: 2 comments 4 replies
-
You could just install it and |
Beta Was this translation helpful? Give feedback.
2 replies
-
I'm also looking forward to this feature, lots of Java softwares have been declared depend on |
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
-
I was wondering if it's possible with brew to "blacklist" packages? The main reason I ask is that I do code development on my Macbook and I like to control my compilers by building them myself and maintaining Lua modules to enable them.
Thus, I tend to be very careful and never let brew install
gcc
since I want to maintain that myself and make sure it's not in my "default" path (which has the brew bin). I have to live withclang
being in my default PATH, butgcc
only appears when I ask it to.But the fun part is when I do a
brew install foo
and find it wantsgcc
and boom, I now havegcc-11
or whatever in my path. I try to look atbrew info foo
first, but sometimes I see a cool new package and get impatient. 😄So I wondered, is there a way to tell
brew
"never installgcc
or any package that depends on it"? I don't mind losing out on some packages if it means I can keep my control.Beta Was this translation helpful? Give feedback.
All reactions