方法一:如果安裝了homebrew那麼你可以直接輸入命令: sudo brew install wget就可以了
方法二:
curl -O http://ftp.gnu.org/gnu/wget/wget-1.16.tar.gz
tar -xzvf wget-1.16.tar.gz
cd wget-1.13.4
./configure --with-ssl=openssl
make
sudo make install
--with-ssl=openssl 要說的是注意這句話,很多 安裝教程中都沒寫這個,結果會到這./configure的時候產生
configure: error: --with-ssl was given, but GNUTLS is not available.