Under Mac system similar to the yum package management tools installed

apt-get for the first time with a Mac, use the terminal under development kits today, when the virtual machine before use, yum, rpm actually does not take all. Linux same system, this forced the white face ...... rip

I checked the data and found that the Mac is to use the command instal brew

Installation brew

Open the terminal, enter the command:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Installation is relatively slow, be patient

The following prompt indicates that the installation was successful appears:

 

 By brew install wget

 

After a successful installation for testing:

 

Successful installation!!!

 

Guess you like

Origin www.cnblogs.com/tingguoguoyo/p/10991102.html