按照网上的很多教程 在mac os下安装wget 出现错误
configure: error: –with-ssl was given, but GNUTLS is not available.
可能是因为是非root权限问题,如果有时间大家可以尝试使用root权限,按照网上大部分教程试试
例:http://zzh.iteye.com/blog/1583465
不考虑root权限方式安装
1、打开终端执行命令
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2、
brew install wget
3、
cd /usr/local
$ find Cellar
Cellar/wget/1.16.1
Cellar/wget/1.16.1/bin/wget
Cellar/wget/1.16.1/share/man/man1/wget.1
$ ls -l bin
bin/wget -> ../Cellar/wget/1.16.1/bin/wget