Uninstall / remove a Homebrew package including all its dependencies

后端 未结 10 1314
萌比男神i
萌比男神i 2020-12-04 04:25

I have a Homebrew formula that I wish to uninstall/remove along with all its dependencies, skipping packages whom other packages depend upon (a.k.a. Cascadi

10条回答
  •  天命终不由人
    2020-12-04 04:59

    brew rmtree doesn't work at all. From the links on that issue I found rmrec which actually does work. God knows why brew doesn't have this as a native command.

    brew tap ggpeti/rmrec
    brew rmrec pkgname
    

提交回复
热议问题