wget是一個從網絡上自動下載文件的自由工具,支持通過HTTP、HTTPS、FTP三個最常見的TCP/IP協議下載,並可以使用HTTP代理。
下面介紹如何在Mac OS 下安裝Wget
下載最新版的 weget ➡️ https://ftp.gnu.org/gnu/wget/
解壓 找個地方放好,然后終端進入目錄。
./configure --with-ssl=openssl --host=TARGET
make
sudo make install
測試已安裝成功
問題記錄:
如果出現此問題
$ wget huangenai$ ./configure
creating cache ./config.cache
configuring for GNU Wget 1.5.3
checking host system type... configure: error: can not guess host type; you must specify one
解決方案:
mac os 是不能直接端口執行 ./configure ,會報上面這個錯誤👆。
要是用此命令
./configure --with-ssl=openssl --host=TARGET
此隨筆乃本人學習工作記錄,如有疑問歡迎在下面評論,轉載請標明出處。
如果對您有幫助請動動鼠標右下方給我來個贊,您的支持是我最大的動力。