0
所以我一直试图在Mac OS X Sierra上安装build-essential的两天没有成功,它们是brew
和apt-get
。研究这个问题给了我一些结果,但没有任何结果。Mac OS X不能通过brew或apt-get安装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的源列表,但我似乎无法找到它。
您可以在macOS上获得'apt-get':https://thecustomizewindows.com/2013/11/how-to-install-apt-get-on-mac-os-x/ – bfontaine