Mac OS 安装Wget

来源:互联网 发布:fdd网络 编辑:程序博客网 时间:2024/06/07 06:42

没有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

  1. zola says:

    按你的方法不行,我在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



0 0
原创粉丝点击