本文翻译自:Uninstall / remove a Homebrew package including all its dependencies
I have a Homebrew package that I wish to uninstall / remove with all its dependencies, skipping packages whom other packages depend upon. 我有一个Homebrew包,我希望卸载/删除所有依赖项,跳过其他包依赖的包。
eg Uninstall package a
which depends on packages b
& c
, where package d
also depends on package c
. 例如,卸载包a
,这取决于包b
和c
,其中包d
也取决于包c
。 The result should uninstall both a
& b
, skipping c
. 结果应该同时卸载a
& b
,跳过c
。
How can I do that? 我怎样才能做到