have been missing Ubuntu Apt-get, because it is convenient, need to install what, a command to do, the related dependencies are all maintained by Apt-get . Download, compile, install, that's called a jolly. What software with the uncomfortable, a command to uninstall!
Miss Apt-get , found an alternative tool MacPorts, said can also solve my problem. But unfortunately, I always can't update the local Software index library!
Brew is described in detail in the Homebrew home page , but we would like to download the actual walkthrough!
- Installing Brew
- Using Brew to install software
- Uninstalling Software with Brew
- Using Brew to retrieve software
1. Install Brew:
Shell Code
- CURL-LSSF Http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz-c/usr/local--strip 1
The above commands can be found on the official website!
2. Using Brew to install the software
Other tools do not say, wget, but the default on Mac!
Let's take it to the knife first:
Shell Code
- Brew Install wget
Even the installation of Tomcat:
Shell Code
- Brew Install Tomcat
or a unrar:
Shell Code
- Brew Install Unrar
3. Use Brew to uninstall the software
Easy to install, easy to uninstall:
Shell Code
- Brew Uninstall Unrar
4. Using Brew to retrieve software
See what we can search for:
Shell Code
- Brew search/apache*/
/apache*/ Use regular expressions, pay attention to using / separating!
At this point, Brew has been able to solve most of my software installation problems!
Mac command-line installation software