❶ 如何在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,无需担心复杂的手动编译过程及依赖关系的处理。