❶ 如何在Mac OS中安裝 wget
首先 安裝make 命令
載 #
command_line_tools_for_xcode_june_2012.dmg
載Wget 安裝
curl -O
tar -xzvf wget-1.13.4.tar.gz
cd wget-1.13.4
./configure --with-ssl=openssl
make
sudo make install
要說注意句 安裝教程都沒寫結./configure候產?
configure: error: --with-ssl was given, but GNUTLS is not available.
The reason for this is that GNUTLS isn』t included with Mac OS X, but the equally usable library OpenSSL is available. 原
❷ 如何在Mac OS中安裝 wget
首先 安裝make 命令
然後下載Wget 安裝
tar -xzvf wget-1.13.4.tar.gz
cd wget-1.13.4
./configure --with-ssl=openssl
make
sudo make install
要說的是注意這句話,很多 安裝教程中都沒寫這個,結果會到這./configure的時候產ç
configure: error: --with-ssl was given, but GNUTLS is not available.
The reason for this is that GNUTLS isn』t included with Mac OS X, but the equally usable library OpenSSL is available. 這個是原因
❸ macosxlion下如何安裝wget
在Mac OS X Lion環境下安裝wget,首先需要關注wget的依賴關系。通常,軟體之間存在相互依賴,這一步驟可能需要您先安裝GNUTLS庫。
手動編譯與安裝可能較為繁瑣,建議使用Mac OS X的軟體包管理器來簡化過程。這些管理器能夠自動下載、編譯並安裝軟體,同時處理依賴關系。
市面上有幾種流行的軟體包管理器,它們都包含了wget的安裝源。以下為搜索結果:
mac:~ juven$ brew search wget wget mac:~ juven$ port search wget wget @1.13.4 (net, www) internet file retriever
完成安裝homebrew或MacPorts後,只需執行以下命令來安裝wget:
sudo brew install wget
或
sudo port install wget
通過使用這些軟體包管理器,您可以輕松地安裝wget,無需擔心復雜的手動編譯過程及依賴關系的處理。