Re: Need to update gcc to version >=6 on CentOS 7 ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



$ sudo yum install devtoolset-7

Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirror.vcu.edu
 * epel: mirror.siena.edu
 * extras: mirror.vcu.edu
 * updates: mirror.vcu.edu
No package devtoolset-7 available.
Error: Nothing to do

On Wed, Sep 11, 2019 at 12:17 PM Gordon Messmer
<gordon.messmer@xxxxxxxxx> wrote:
>
> On 9/11/19 9:05 AM, John Chludzinski wrote:
> >
> > How do I go about updating gcc to version 6 or greater on my CentOS 7
> > machine? And do so safely?
>
>
> The easiest way is going to be to use software collections:
>
> https://www.softwarecollections.org/en/scls/rhscl/devtoolset-7/
>
> devtoolset 7 will install gcc 7 in a directory in /opt, which will not
> conflict or interfere with existing system packages. When you want to
> use gcc 7, you'd start a new shell with a modified path and other
> environment variables using:
>
>    scl enable devtoolset-7 bash
>
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux