![]() For example: brew uninstall -ignore-dependencies telnet Perhaps the simplest way to prevent that is to use the optional –ignore-dependencies flag. One thing to be mindful of when removing and uninstalling packages from Homebrew is that if the package being uninstalled has dependencies that are in use by another package or formula, then that may break it causing the secondary package to no longer work correctly. Managing Dependencies when Uninstalling Homebrew Packages The –ignore-dependencies flag does just what it sounds like, it will ignore dependencies for the formula in question when uninstalling the designated package. The –force flag (or -f) will forcibly remove the package along with deleting all versions of that package / formula. There are two flags you can pass to the Homebrew uninstall command as well –force and –ignore-dependencies. You can confirm the package was removed by trying to run the command again, or by checking where Homebrew packages are installed to and you will find the package you removed is no longer there.Īdditional Homebrew Package Uninstall Options Removing a package from Homebrew is quick, as there is no need to download anything, it just deletes the Homebrew package from the Mac. Or you can use the remove command for the same effect: brew remove telnet The remove Homebrew package command looks like this: brew remove packageNameĪs you may have guessed by now, the remove and uninstall commands are exactly the same, and get the same result the removal of the Homebrew package.įor example, to remove and uninstall Telnet (assuming you installed telnet on the Mac with Homebrew anyway), you would use the following command string: brew uninstall telnet The uninstall Homebrew package command looks like this: brew uninstall packageName ![]() The proper way to remove a Homebrew package is with the uninstall or remove command. How to Uninstall & Remove Homebrew Packages We’re just talking about removing particular packages from Homebrew. It turns out that uninstalling packages / formula with Homebrew is very easy, and uninstalling and removing packages from Homebrew is just as easy as installing them in the first place. But what if you no longer need one, and you want to remove a particular Homebrew package? If you have installed Homebrew on a Mac to use as a package manager for various unix and command line utilities, you’ve probably also installed a handful of packages deemed useful to you. A Bourne-compatible shell for installation (e.g.Command Line Tools (CLT) for Xcode: xcode-select –install, /downloads or Xcode.Like Homebrew Cask, it uses simple commands. It’s the easiest way to install them on Mac OS X, just as it is on Linux. Uninstall Packages with Homebrew: The Homebrew command is the underlying package manager that installs all those UNIX and open-source utilities you might want. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |