almost 7 years ago

Mac OS X系统基于Unix的,自带了curl这个工具,但是我在Lion上使用时,老是出现各种问题,因此决定来装个wget吧。

打开Terminal,输入如下命令:

curl -o http://ftp.gnu.org/gnu/wget/wget-1.13.4.tag.gz
tar -xzvf wget-1.13.4.tar.gz
cd wget-1.13.4
./configure --with-ssl=openssl
make
sudo make install
which wget #Should output: /usr/local/bin/wget

enjoy

← Why Check in failed code Why Check in failed code →