.Net Core Package.

Latest response

I can't install .net core on RHEL today. It was working before. When I ran 'yum install rh-dotnet20 -y' or 'yum -y install rh-dotnet20-dotnet-sdk-2.1', I got 'No package rh-dotnet20 available' error.
And idea?

Responses

Hi,

If we assume that the system is registered, then please check if .Net Core channel is enabled through one of these options:

$ sudo subscription-manager repos --enable=rhel-7-server-dotnet-rpms

or

$ sudo subscription-manager repos --enable=rhel-7-workstation-dotnet-rpms

or

$ sudo subscription-manager repos --enable=rhel-7-hpc-node-dotnet-rpms

After that, verify the list of subscriptions:

$ sudo subscription-manager list --consumed

.... And you need to install scl-utils too:

$ sudo yum install scl-utils

Regards,

Dusan Baljevic (amateur radio VK2COT)

Hi, I met with the same problem again here, it says: Error: 'rhel-7-workstation-dotnet-rpms' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories. Is it because my account does not support this repo?

Close

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