Mac OS安裝wget

沒有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: Macwget

  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/

發佈了160 篇原創文章 · 獲贊 21 · 訪問量 53萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章