前记
鉴于 brew uninstall
只会卸载软件包本身而不会卸载其依赖包,所以我们用 homebrew-rmtree
来解决完全卸载
homebrew-rmtree
安装
brew tap beeftornado/rmtree
使用
1 2
| brew rmtree pyenv-virtualenv brew cleanup
|
效果
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| brew rmtree pyenv-virtualenv ==> Examining installed formulae required by pyenv-virtualenv... | 3 / 5
Can safely be removed ---------------------- pyenv-virtualenv pyenv autoconf pkg-config
Proceed?[y/N]: y ==> Cleaning up packages safe to remove
Uninstalling /usr/local/Cellar/pyenv-virtualenv/1.1.5... (22 files, 65.4KB) Uninstalling /usr/local/Cellar/pyenv/2.0.0... (756 files, 2.6MB) Removing: /usr/local/Cellar/autoconf/2.69... (67 files, 3.0MB) Uninstalling /usr/local/Cellar/autoconf/2.71... (71 files, 3.2MB) Uninstalling /usr/local/Cellar/pkg-config/0.29.2_3... (11 files, 623.7KB)
|