brew安装gcc太耗时

编程入门 行业动态 更新时间:2024-10-09 08:27:21
本文介绍了brew安装gcc太耗时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在做一个干净的小牛安装,并且意外地做了 $ b $ pre $ code brew安装gcc

这是花了半个多小时,也许更多。我应该终止它吗?我现在知道我应该安装一个特定的gcc(也许gcc48),但已经太晚了,我的macbook air正在呼吸困难。

目前已经完成了所有5个依赖项的下载,但卡在安装gcc部分。它下载了一个gcc-4.9.1.tar.bz2,并进行了配置和构建,并停留在启动引导程序上。

任何建议都是值得赞赏的。

这个建议我看得太晚了: apple.stackexchange/questions/38222/how-do-i-install- gcc-via-homebrew

首先提问: superuser/questions/788256/brew-install-gcc-mac-os-10-9-mavericks

$ b $你需要安装gcc来获得gfortran,而且你确实需要一个用于scipy的fortran编译器。如果你安装了Xcode命令行工具,Homebrew会安装一个瓶装(即预编译)的gcc软件包版本,速度非常快。这些与XCode本身是分开的。您可以使用 xcode-select --install 安装它们。

没有特别需要安装特定版本的gcc(我认为这些可能不是瓶装的,所以它们会同样缓慢)。

一般来说,用Ctrl + C中断Homebrew是安全的,Homebrew会自动您可能会对 homebrew-python tap 感兴趣。 >。

I'm doing a clean install of Mavericks, and accidentally did

brew install gcc

which is taking over half an hour, maybe more. Should I terminate it? I know now that I should have installed a specific gcc (maybe gcc48) but it's too late and my macbook air is breathing hard.

Currently done downloading all 5 dependencies, but stuck on the "Installing gcc" part. It's downloaded a gcc-4.9.1.tar.bz2, configured and built it, and is stuck on making the bootstrap.

Any advice is appreciated.

This was good advice I saw too late: apple.stackexchange/questions/38222/how-do-i-install-gcc-via-homebrew

Asked here first: superuser/questions/788256/brew-install-gcc-mac-os-10-9-mavericks

解决方案

You do need gcc installed to get gfortran, and you do need a fortran compiler for scipy. Homebrew will install a "bottled" (i.e., precompiled) version of the gcc package, which is very fast, if you have the Xcode Command Line Tools installed. These are separate from XCode proper. You can install them with xcode-select --install.

There is no particular need to install a particular version of gcc (and I think those may not be bottled, so they will be equally slow).

In general, interrupting Homebrew with Ctrl+C is safe and Homebrew will automatically recover.

You may be interested in the homebrew-python tap.

更多推荐

brew安装gcc太耗时

本文发布于:2023-10-26 06:35:44,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1529367.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:brew   gcc

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!