您的位置:首页 > 其它

Mac OS 安装Wget

2016-01-25 19:39 375 查看
没有Wget的日子是非常难过的,强大的Mac OS 下安装Wget非常简单

下载一个Wget的源码包,http://www.gnu.org/software/wget/





打开终端解压,

1 输入:tar zxvf wget-1.9.1.tar.gz

2 cd 进入到解压的目录

3 输入:./configure

4 输入:make

5 输入:sudo make install

输入秘密 OK 安装完成!

可以输入wget www.google.com 测试是否安装成功





Tags: Mac, wget

zola says:

February 16, 2012 at 7:20 am

按你的方法不行,我在Lion里安装时提示

configure: configuring for GNU Wget 1.13

checking for a BSD-compatible install… /usr/bin/install -c

checking whether build environment is sane… yes

checking for a thread-safe mkdir -p… build-aux/install-sh -c -d

checking for gawk… no

checking for mawk… no

checking for nawk… no

checking for awk… awk

checking whether make sets $(MAKE)… no

checking build system type… i386-apple-darwin11.3.0

checking host system type… i386-apple-darwin11.3.0

checking for gcc… no

checking for cc… no

checking for cl.exe… no

configure: error: in `/Users/zola/Desktop/wget-1.13′:

configure: error: no acceptable C compiler found in $PATH

See `config.log’ for more details

后来在帮助文档里找到了Mac OSX的版本,直接使用pkg文件安装的

http://www.merenbach.com/software/wget/

原文链接: http://blog.csdn.net/ssihc0/article/details/7572180
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: