如何使用devtoolset-8-gcc安装gcc8 [英] How to install gcc8 using devtoolset-8-gcc

查看:359
本文介绍了如何使用devtoolset-8-gcc安装gcc8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用已安装gcc 4.8.5 20150623的CentOS Linux版本7.3.1611.我正在寻找一种安装较新版本的gcc(特别是8.1)的方法.我在以下网站上找到了有关如何安装gcc v7的网站

I am using CentOS Linux release 7.3.1611 which has gcc 4.8.5 20150623 installed. I am looking for a way to install a newer version of gcc, specially 8.1. I found the following site on how to install gcc v7 link 1 which describes how to install gcc v7 (using devtoolset-7-gcc*). I did follow the guidelines and was able to install gcc v7. Though, if I followed the same procedure, but used "devtoolset-8-gcc*" instead the return message states "No package devtoolset-8-gcc* available.".

进行了搜索,找到了一个名为"build devtoolset-8-gcc-8.1.1-4.el6的信息"的页面.

Performed a search and found a page called "Information for build devtoolset-8-gcc-8.1.1-4.el6" link 2, but not sure how to install this. I believe I would need to download the rpm source, compile/build the source, then finally install it.

基本上,我正在寻找一种简单的方法来安装gcc v8,就像使用链接1所述的方法一样.

Basically, I am looking for a easy way to install gcc v8 just like using the method described on link 1.

先谢谢了.

推荐答案

devtoolset-8 不久前才发布.链接的安装说明可能有用.但是,您的问题与CentOS有关,并且似乎尚未提供.您可以在此处看到一些为CentOS构建的证据.已针对最终版本进行了更新.

devtoolset-8 was only released a short while ago. The linked installation instructions may be of use. However, your question pertains to CentOS, and this does not yet appear to have been made available yet. You can see some evidence of it being build for CentOS here, but it's not been updated for the final release yet.

您可以在SCL邮件列表中要求提供ETA,或者等到它以最终形式出现.同时,您可以直接从koji下载RPM.

You could ask on the SCL mailing list for an ETA, or wait until it appears in its final form. In the meantime, you could download the RPMs from koji directly.

这篇关于如何使用devtoolset-8-gcc安装gcc8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆