Using brew update, brew upgrade, and brew cleanup when installing, uninstalling and updating packages #5146
-
Output of
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Not really, a couple of notes:
This, for the most part, is true. Homebrew works best when it is updated often. Personally I run
This one passes |
Beta Was this translation helpful? Give feedback.
-
My intent is to uninstall a package without uninstalling its dependencies, because its dependencies might be used by some other packages.
So it seems this option makes the process of uninstallation more safe, not less. Or maybe I don't really understand something? |
Beta Was this translation helpful? Give feedback.
-
Unless something's radically changed during my long Homebrew hiatus, Homebrew has never auto-uninstalled a formula's dependencies. @SMillerDev is talking about breaking installed formulae that depend on the formula you're currently uninstalling. Passing |
Beta Was this translation helpful? Give feedback.
Not really, a couple of notes:
This, for the most part, is true. Homebrew works best when it is updated often. Personally I run
brew upgrade
once a day or so to make sure I have all the latest updates of software for security and possibly new features.The
brew cleanup
isn't needed as often but it won't hurt to run to clean up some old files. Thebrew update
is already run bybrew upgrade
in modern brew, so that one is redundant.This one passes
--ignore-dependencies
which you probably don't want to do, since it will ignore any…