Cannot Find devtoolset-6

Latest response

I have a desktop machine currently with RHEL 6.9 installed, currently under the "Red Hat Enterprise Linux Desktop, Self-Support" subscription.

I have additionally purchased and subscribed to "Red Hat Enterprise Linux Developer Suite", so I could gain access to the devtoolset-6 package. Furthermore, I have successfully enabled the following repositories:
- rhel-6-desktop-optional-debug-rpms
- rhel-6-desktop-optional-rpms
- rhel-6-desktop-optional-source-rpms

However 'yum search devtoolset' yields no results, and 'yum install devtoolset-6' fails with "No package devtoolset-6 available".

What am I missing to get this package?

Responses

Hi John,

Devtoolset-6 is part of the Software Collections and available from there.
Enable some additional repositories and you will get everything you need.

sudo subscription-manager repos --enable rhel-6-server-extras-rpms
sudo subscription-manager repos --enable rhel-6-server-optional-rpms
sudo subscription-manager repos --enable rhel-server-rhscl-6-rpms

Cheers :)
Christian

Hi Christian,

Running sudo subscription-manager repos --enable rhel-6-server-extras-rpms gives me Error: 'rhel-6-server-extras-rpms' does not match a valid repository ID. I get similar errors on the other two commands.

Additionally, running sudo subscription-manager repos --list does not give me any server repositories.

Thanks, - John

You've said that you subscribed to the Red Hat Enterprise Linux Developer Suite.
Make sure that this subscription is attached to the registered operating system. :)

I do see the subscription when I run subscription-manager list --consumed, that should mean that I've attached it, right?

Well, I suggest that you refresh everything :

sudo subscription-manager remove --all
sudo subscription-manager unregister
sudo subscription-manager clean
sudo subscription-manager register
sudo subscription-manager refresh
sudo subscription-manager attach --auto

All,

If I am not mistaken, Developer Suite is a Server subscription, not a Workstation or Desktop subscription. So a reinstall might be needed to get the advantages of the Developer Suite subscription.

Regards,

Jan Gerrit

Hi Jan Gerrit,

That's what I assumed ... you need to have the Server edition running in order to access the Server repositories.

Thanks :)
Christian

Thank you both for the help! I guess I'll have to stick with the default gcc packages for now, and when I upgrade to the server subscription I'll be snag the latest.

  • John

You're welcome John ! :)

So I've installed RHEL 6.9 server, enabled the optional repositories, and installed devtoolset-2. However, this only gets me to gcc4.8.

Going through the documentation, it appears that devtoolset-6.1 should be available to me (providing gcc 6.x), however I cannot seem to find it.

Could this be because I used the "Red Hat Enterprise Linux Developer Suite", when I need the $350 "Red Hat Enterprise Linux Server" subscription?

Thanks, - John Wargo

Just for future reference -- I found that the devtoolset-6 packages are part of the rhel-server-rhscl-6-rpms repository.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.