最近我尝试用brew
和apt-get
在Mac OS X Sierra上安装build-essential
已经两天了,但一直没有成功。针对这个问题我做了一些调查研究,但还是没有找到有效的解决方法。
sudo apt-get update
Reading Package Lists... Done
Building Dependency Tree... Done
由于懒惰,我还列出了我正在努力安装的其他软件包及其各自的错误信息。
sudo apt-get install -y build-essential
E: Couldn't find package build-essential
E: Couldn't find package libfreetype6-dev
E: Couldn't find package automake
E: Couldn't find package postgresql-9.5
有一些建议修改apt-get的源列表,但我似乎找不到它。
apt-get
:https://thecustomizewindows.com/2013/11/how-to-install-apt-get-on-mac-os-x/ - bfontaine