Mac os安装wget

首先 安装make 命令

https://developer.apple.com/downloads/index.action?name=for%20Xcode%20- 

下载 https://developer.apple.com/downloads/index.action?name=for%20Xcode%20-#

command_line_tools_for_xcode_june_2012.dmg

 

然后下载Wget 安装

 

curl -O http://ftp.gnu.org/gnu/wget/wget-1.13.4.tar.gz
tar -xzvf wget-1.13.4.tar.gz
cd wget-1.13.4
./configure --with-ssl=openssl
make
sudo make install

你可能感兴趣的:(Mac os安装wget)