With homebrew you can manage the installation and uninstallation of many open source software.
Reference Https://github.com/mxcl/homebrew/wiki
1. Installation:
Ruby-e "$ (curl-fsskl raw.github.com/mxcl/homebrew/go)"
2. Update
Brew Update
3. Uninstall:
CD ' Brew--prefix '
RM-RF Cellar
Brew Prune
RM ' Git ls-files '
Rm-r library/homebrew library/aliases Library/formula library/contributions
Rm-rf. Git
RM-RF ~/library/caches/homebrew
4, install the software.
4.1. Find: Brew Search
such as: Brew search rar
4.2, installation, such as: Brew Install Unrar
4.3, uninstall, such as: Brew uninstall Unrar
4.4, view, such as: Brew list
Attention:
# If you don't want to do sudo every time, you can execute some commands: sudo chown-r $USER/usr/local
such as: sudo chown-r chenjunbiao/usr/local
Homebrew can manage the installation and uninstallation of many open source software