[Carry]mac under the installation of brew

Source: Internet
Author: User
Tags tar xz

written in the previous words: 1. Create a shell note change permissions to run CHOMD 777 XXX 2. Note The path to the installation. The location may not be local. Look at the printed log. 3. If the path you are installing is not the original path, be careful to change the path Original: http://webmedia.blog.163.com/blog/static/416695020123261226695/ Don't want to be misled? Look directly at the official documents: http://mxcl.github.com/homebrew/first install git, open a shell

cd /usr/local sudo mkdir homebrewCurl -L https://github.com/mxcl/homebrew/tarball/master | sudo tar xz--strip 1-c homebrew CD Homebrew/bin./brew-vFile BrewCat Brew | moresudo./brew update

If the Brew Update command performs an error, make sure that the owner permissions for the folder/usr/local are you and not root: sudo chown $USER/usr/localbrew updatUpdate the path configuration in ". Bash_profile" (if there is no file under ~). Bash_profile "Do: Touch '. Bash_profile ') Vim '. Bash_profile ' Join
Export PATH=$PATH:/usr/local/homebrew/bin     
You can then execute the brew directly (without./brew) If you have git, you can install it (not tested)

git clone https://github.com/mxcl/homebrew.git
CD Homebrew/Bin
CD Homebrew/Bin
./Brew -v

Install the test./brew install wget./brew Uninstall wget
./brew searc/apache*/

[Carry]mac under the installation of brew

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.