Devtoolset-8

Latest response

Hello!
Am trying to download gcc 8.2 for rhel 7.7 using the url below,
https://developers.redhat.com/products/developertoolset/hello-world#fndtn-windows

keep getting error message
"No package devtoolset-8 available.
Error: Nothing to do"

What am i missing?

Responses

John McCarthy,

Thanks for joining us in the RH Discussions.

I imagine you went through this source (scroll down at that link, shows what subscriptions to attach, how (with links there).

NOTE The links listed in the block of text below can be found in the link in the previous short paragraph just above this line.

If you use Red Hat Subscription Manager:

On Red Hat Enterprise Linux 7, you can add these repositories by navigating to Applications → System Tools → Red Hat Subscription Manager.

Then enable the Optional channel for your system. For detailed information, see https://access.redhat.com/solutions/392003.

Users of Red Hat Satellite can enable the Optional channel by following the instructions at https://access.redhat.com/solutions/70019.

Since Red Hat Developer Toolset 4.1, the content is available also in the ISO format at https://access.redhat.com/downloads, specifically for Server and Workstation.

Note
Packages that require the Optional channel cannot be installed from the ISO image. A list of packages that require enabling of the Optional channel is provided in the Red Hat Software Collections Release Notes.
Beta content is unavailable in the ISO format.

Let us know how this goes,

Regards

RJ

Hi John,

Executing the following commands should get you going ... :)

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

sudo yum update
sudo yum install devtoolset-8

Regards,
Christian

yeah, Christian Labisch's post above is most likely cleaner.

Thanks Christian - I took the long way

Regards

RJ

You're welcome, RJ ! You know, together we are strong ... :)

Regards,
Christian

I'm trying to configure a laptop to replicate a desktop configuration (thanks, corona virus) with RHEL workstation 7.7 and devtoolset-8. Everythink works great in the office. On the laptop, I cannot enable the repos for the install:

# subscription-manager repos --enable rhel-7-server-devtools-rpms
Error: 'rhel-7-server-devtools-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.

# subscription-manager repos --enable rhel-7-workstation-devtools-rpms
Error: 'rhel-7-workstation-devtools-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.

# subscription-manager repos --enable rhel-7-desktop-devtools-rpms
Error: 'rhel-7-desktop-devtools-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.

What am I missing here?

Hi Darrel,

Which specific RHEL subscription do you have/use ? Usage of the devtools repositories might be not included ... :)

Regards,
Christian

I have 2 active subscriptions - one is "Red Hat Satellite Infrastructure Subscription" and the other is "Red Hat Enterprise Linux Workstation, Self-support." I'm currently linked on my laptop to the Linux Workstation subscription, and that may be the issue. How do I switch it? Do I need to remove the work box to open a slot or something?

Hi Darrel,

I would use the free no-cost Red Hat Developer subscription, which includes usage of the devtools repositories.
Of course you can also purchase the developer subscription, which would allow you to use it in/for production. :)

Regards,
Christian

Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server x86_64 7Server is the repository for servers that contains the devtools-8-gcc-8.2 rpm.

I do not know what Workstation repository would be equivalent, as we do not deploy workstations at our company.

Hi Jan,

I don't think Workstation does provide the developer tools ... Darrel needs a (free or paid) server subscription. :)

Regards,
Christian

I would suggest to get a developer subscription, do not waste your Satelllite subscription on a laptop, if you do not want to install a Satellite server on it.

I completely agree with you, Jan ... the Satellite subscription should not be "wasted" for development tasks. :)

Regards,
Christian

Anyone curious about Red Hat Software Collections (RHSC) with Workstation - at least from my experience, we've never had a need to use RH Software Collections for workstations. All uses of RHSC in the several environments we have were always applicable to RH Server, and never with Workstation.

Regards,
RJ

Yes RJ - as far as I know, one needs a (full) server or a (free or paid) developer subscription to use RHSC. :)

Regards,
Christian

Here is more information for the Red Hat Software Collection (particularly with Red Hat Developers subscription implied with this link) https://developers.redhat.com/products/softwarecollections/overview.

Regards,
RJ

Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Workstation rhel-workstation-rhscl-7-rpms is what I found to be able to sync for a RH Satellite,

so the repository does exist.

Thanks, all. Per Christian's recommendation, I bought the developer package. Now we can keep the spacecraft flying! (This is for work on NASA's open source GMAT project, available on SourceForge if anyone is interested.)

Great news ... You're welcome, Darrel ! Glad we could help you to achieve what you wanted. :)

Regards,
Christian

Darrel, that's good - It might be good to redact that above, depending on your agency's sensitivity, however, if it is on SourceForge, maybe you're fine.

Regards,
RJ

Thanks, RJ. It's not an issue from this side.

We wish you well with this project.

Regards,
RJ

Darrel,

Success.

Regards,

Jan Gerrit

Hi Darrel,

Same from my side ... I wish you much success with your project ! :)

Regards,
Christian