# Best way to install gcc-13 on Rocky 9

**URL:** <https://forums.rockylinux.org/t/best-way-to-install-gcc-13-on-rocky-9/11377>\
**Category:** Rocky Linux Help & Support\
**Tags:** rocky-linux-9\
**Created:** [September 22, 2023, 1:04pm UTC](https://forums.rockylinux.org/t/best-way-to-install-gcc-13-on-rocky-9/11377 "2023-09-22T13:04:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nvasilev](https://avatars.discourse-cdn.com/v4/letter/n/b19c9b/32.png) [@nvasilev](https://forums.rockylinux.org/u/nvasilev)\
**Post date:** [September 22, 2023, 1:04pm UTC](https://forums.rockylinux.org/t/best-way-to-install-gcc-13-on-rocky-9/11377/1 "2023-09-22T13:04:45Z")

</div>

Hi everyone,

I want to use the gcc-13 on my x86\_64 platform but it’s not in upstream.  
What is the best way to do it? Is there a better way to install gcc-13 other than from scratch?

I also see  
`gcc-toolset-13-binutils` in [staging repository](https://git.rockylinux.org/staging/rpms/gcc-toolset-13-binutils) in rocky gitlab. Is there a way to compile gcc-13 from it? Or is there a way to add artifactories from it to my upstream?

Thanks!

---

<div class="post-metadata">

**Author:** ![remi](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/remi/32/1425_2.png) [@remi](https://forums.rockylinux.org/u/remi)\
**Post date:** [September 22, 2023, 2:32pm UTC](https://forums.rockylinux.org/t/best-way-to-install-gcc-13-on-rocky-9/11377/2 "2023-09-22T14:32:41Z")

</div>

EL 8.8 and 9.2 have **gcc-toolset-12**  
CentOS Stream already has **gcc-toolset-13**  
So have to wait for EL 8.9 and 9.3

---

<div class="post-metadata">

**Author:** ![jlehtone](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@jlehtone](https://forums.rockylinux.org/u/jlehtone)\
**Post date:** [September 22, 2023, 3:19pm UTC](https://forums.rockylinux.org/t/best-way-to-install-gcc-13-on-rocky-9/11377/3 "2023-09-22T15:19:37Z")

</div>

According to [Red Hat Enterprise Linux Application Streams Life Cycle - Red Hat Customer Portal](https://access.redhat.com/support/policy/updates/rhel-app-streams-life-cycle) Red Hat has released once, in Feb 2020, two streams for “8.1.1”. All other stream releases have been at point update releases.

The “stability” of RHEL (and closely related distros) assumes that one does use what the distro has to offer. Most of the time that is not the bleeding edge toys at day one (although, the openssl-3.0 was very new in el9\_0).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)\
**Post date:** [November 21, 2023, 3:20pm UTC](https://forums.rockylinux.org/t/best-way-to-install-gcc-13-on-rocky-9/11377/4 "2023-11-21T15:20:27Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
