Skip to content

.NET 5 is missing in RHEL (CentOS) & Fedora #5596

Closed

Description

@RheaAyase

.NET 5 is missing in RHEL & Fedora

As of today we are unable to build .NET 5 on Linux.

This is an FYI ticket, a reference, and I will update it when we get some bits and pieces released.

Current state for 5.0.0

  • Fedora RPMs built
  • RHEL7 RPMs built
  • RHEL8 RPMs built
  • UBI8 Containers built
  • Documentation published
  • GA Announcement published

5.0.1 ???

Due to the lag there is a bit of catch-up to be done, and 5.0.1 should make it in January.

How to get .NET 5 in the meantime?

Containers

Currently UBI8 (RHEL8) base images are available with our last successful RHEL8 build of .NET 5 packages - preview 8
UBI8 .NET 5.0.0 available at: https://catalog.redhat.com/software/containers/search?q=ubi8%2Fdotnet-50&p=1

Binary download

You can use the binary format provided on the Microsoft download page.

Microsoft vs COPR repo for Fedora 33

Ensure that you remove all the Microsoft provided packages and repositories.

Our copr repository should work side by side with dotnet packages in Fedora proper and therefore it would be the recommended way to go.

Activity

  1. eLPe21 commented on Nov 19, 2020

    @eLPe21

    Is my problem related? On Mac:
    dotnet publish -r centos.7-x64 -o ../out /p:PublishSingleFile=true /p:DebugType=None;

    On Centos 7:

    Error:
      An assembly specified in the application dependencies manifest (Application.deps.json) was not found:
        package: 'runtime.rhel.7-x64.runtime.native.System', version: '4.3.0'
        path: 'runtimes/rhel.7-x64/native/System.Native.a'
    

    Everything works ok when I target netcoreapp3.1

  2. omajid commented on Nov 19, 2020

    @omajid
    Member

    Is my problem related?

    From a quick look, I don't think so (but maybe I am wrong). Can you please report this as a separate issue?

  3. dagood commented on Nov 25, 2020

    @dagood
    Member

    I think it's been tagged now? https://github.com/dotnet/core/tree/v5.0.0

    dotnet/core is just a documentation and "starting point" repository. I believe the purpose of this particular tag is just to let repo watchers know that a release happened.

    The repo that actually coordinates the variety of .NET repos and enables RHEL (among other Linux distros) to build from source is https://github.com/dotnet/source-build. We--Red Hat and Microsoft folks in collaboration--are actively working on getting 5.0.0 building in dotnet/source-build. This will end up with v5.0.100-SDK and v5.0.0-runtime tags in dotnet/source-build as a release artifact at some point, but this isn't something someone has to watch carefully for: we're already working together.

  4. RheaAyase commented on Dec 8, 2020

    @RheaAyase
    MemberAuthor

    .NET 5 was tagged in source-build a few days ago, and the cogs are spinning. I've added some checkboxes to the OP...

  5. RheaAyase commented on Dec 8, 2020

    @RheaAyase
    MemberAuthor

    RHEL RPMs and Containers are live with a side note that the documentation and official announcement are yet to be published.

  6. RheaAyase commented on Dec 10, 2020

    @RheaAyase
    MemberAuthor

    Fedora: 5.0 is built in our copr repository, work continues towards bootstrapping for proper release...

  7. RheaAyase commented on Dec 10, 2020

    @RheaAyase
    MemberAuthor
  8. mixonomicon commented on Dec 14, 2020

    @mixonomicon

    Centos 8 is still on preview 8. We are sort of threading water, wating for .net 5 rtm (any version) to get there. When is this due to go out, its been over a month since 5 was released.

    https://pkgs.org/download/aspnetcore-runtime-5.0

  9. omajid commented on Dec 14, 2020

    @omajid
    Member

    Centos 8 is still on preview 8.

    That's strange. I see that they built the GA version: https://koji.mbox.centos.org/koji/buildinfo?buildID=14975 but it's not available to users yet? I wonder what else needs to happen for CentOS to ship that update out.

    Edit: Oh, I see. It's in dist-c8-stream (CentOS 8 Stream) not in dist-c8 (CentOS 8).

    Edit 2: Asked on IRC #centos-devel and they told me they will build it now for dist-c8.

  10. secana commented on Jan 11, 2021

    @secana

    Hi! Any news when .NET 5 will hit official Fedora 33 repositories?

  11. RheaAyase commented on Jan 11, 2021

    @RheaAyase
    MemberAuthor

    This didn't change.

    Fedora: 5.0 is built in our copr repository, work continues towards bootstrapping for proper release...

  12. RheaAyase commented on Feb 9, 2021

    @RheaAyase
    MemberAuthor

    .NET 5 is in F33 and rawhide, soon to be in F32 as well. On that note I think that we can close this issue.

  13. GeeWee commented on Apr 5, 2021

    @GeeWee

    If anyone finds this post later and is struggling to install dotnet 5.0, it might be because you have the microsoft repository available. The package is available in the "updates" repository even though it might not be visible if you run e.g. dnf list all "*dotnet-sdk*"

    If you set the priority of the microsoft repo to e.g. 100 in e.g. /etc/yum.repos.d/microsoft.repo it should work, or you can install the fedora version with something like sudo dnf --disablerepo "*" --enablerepo updates install dotnet-sdk-5.0

    On related notes, it might be worth updating the wiki page here that says dotnet 5 is not available

  14. RheaAyase commented on Apr 6, 2021

    @RheaAyase
    MemberAuthor

    That is very well know and documented. One should NEVER combine packages from different sources. Bad idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions