Here is a Bourne-compatible shell function (without any known Bashisms) that takes a list of formulae, removes each one's dependencies, removes all copies of the formula itself, and then reinstalls any missing dependencies. ![]() The posted one-liners can also be tedious to work with if you want to uninstall more than one formula at a time. ![]() In particular, most of them will remove dependencies but still leave it up to you to remove the originally-targeted formula afterwards. There are a number of good answers already, but some are out of date and none of them are entirely complete. Package gpg and its dependancies have been removed. Uninstalling /usr/local/Cellar/libgpg-error/1.35. Uninstalling /usr/local/Cellar/libffi/3.2.1. Uninstalling /usr/local/Cellar/gmp/6.1.2_2. Uninstalling /usr/local/Cellar/nettle/3.4.1. Uninstalling /usr/local/Cellar/libunistring/0.9.10. Uninstalling /usr/local/Cellar/libtasn1/4.13. MacVim supports multiple windows with tabbed editing and a host of other features such as: bindings to standard macOS keyboard shortcuts (-Z, -V, -A, -G, etc.), transparent. Uninstalling /usr/local/Cellar/libassuan/2.5.3. MacVim is a port of the text editor Vim to macOS that is meant to look better and integrate more seamlessly with the Mac than the older Carbon port of Vim. Uninstalling /usr/local/Cellar/pinentry/1.1.0_1. Uninstalling /usr/local/Cellar/libusb/1.0.22. Uninstalling /usr/local/Cellar/libksba/1.3.5. Uninstalling /usr/local/Cellar/libgcrypt/1.8.4. ![]() Uninstalling /usr/local/Cellar/adns/1.5.1. Uninstalling /usr/local/Cellar/gnupg/2.2.13. Now install it with the following command sudo install brew-purge /usr/local/bin #:Removes the package and all dependancies.Įcho Package $PKG and its dependancies have been removed. Save the following script as brew-purge #!/bin/bash
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |