没有Wget的日子是非常难过的,强大的Mac OS 下安装Wget非常简单 下载一个Wget的源码包,http://www.gnu.org/software/wget/ ftp下载地址:ftp://ftp.gnu.org/gnu/wget/ 打开终端解压, 1 输入:tar zxvf wget-1.10.1.tar.gz 2 cd 进入到解压的目录 3 输入:./configure 4 输入:make 5 输入:sudo make install 输入密码 OK 安装完成! 可以输入wget www.baidu.com 测试是否安装成功 localhost:wget-1.10.1 alamps$ wget www.baidu.com --12:14:55-- http://www.baidu.com/ => `index.html' Resolving www.baidu.com... 61.135.169.121, 61.135.169.125 Connecting to www.baidu.com|61.135.169.121|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 2,381 (2.3K) [text/html] 100%[====================================>] 2,381 --.--K/s 12:14:55 (133.57 MB/s) - `index.html' saved [2381/2381]