Skip to content

Add support for Fedora 34 #5851

Closed
Closed

Description

@rbhanda

This issue is created to track progress for the work to enable Fedora 34 support for .NET Core 3.1, .NET Core 2.1 and .NET 5.0.

Product and Test updates

  • [All teams] Do a compatibility check for the product with the new OS
  • [CoreCLR/CoreFX] Runtime / RID Support update
  • [Infra] Ensure that the correct Docker images used by teams are built in the dotnet-buildtools-prereqs (if applicable)
  • [Infra] Replace docker tags used in builds across repos and branches
  • [CLI team] Update CI legs to latest updated Dockerfile
  • [All teams] Update test infrastructure to support the new version
  • [Acquisition] Add support within nightly repos
  • [Acquisition] Deploy to master (GA) during next patch release cycle

Release team:

  • Notify .NET Core teams regarding new OS release
  • Follow up with infra and add feed for new OS release to packages.microsoft.com
  • Update release manifest files
  • Create new Docker files to test the new OS
  • Update the supported OS content on GitHub and marketing sites.

Document updates:

  • Add OS prerequisites to the dependencies document
  • Update distro install page

Activity

  1. wfurt commented on Feb 16, 2021

    @wfurt
    Member
  2. jorge-castello commented on May 8, 2021

    @jorge-castello

    Hi! I recently learned about Fedora 34 and am interested in trying it out. Would it be alright to use .NET with it?

    I noticed in the documentation the install instructions for Fedora 33: https://docs.microsoft.com/en-us/dotnet/core/install/linux-fedora

    Should I wait until I see an update in the docs for Fedora 34 or would it be alright to give it a try? Thank you!

  3. omajid commented on May 10, 2021

    @omajid
    Member

    Hi @jorgio-castello ! I am running Fedora 34 and doing all my .NET development on it. As far as I know, the .NET packages in Fedora 34 should work as well as they do on Fedora 33 (or any other Fedora version). It's more the case that the documentation is a bit out of date. You should be able to follow the Fedora 33 documentation for installing on Fedora 34 as well:

    sudo dnf install dotnet-sdk-5.0
    

    I am probably a bit biased since I am one of the maintainers of the .NET packages in Fedora. Let us know if you run into any issues and we can help trying to work around them.

  4. adegeo commented on May 10, 2021

    @adegeo
    Contributor

    @jorgio-castello @omajid I'll get the docs updated!

  5. rbhanda commented on May 10, 2021

    @rbhanda
    ContributorAuthor

    Thanks @adegeo . We will also have to update the docs for Ubuntu 21.04

  6. LightBender commented on Jun 20, 2021

    @LightBender

    Hi @omajid, I have been trying to install .NET Core on FC34 and I get this from dotnet:

    [root@BUILD-LINUX2 ~]# dotnet --info
    It was not possible to find any compatible framework version
    The framework 'Microsoft.NETCore.App', version '5.0.7' was not found.
      - No frameworks were found.
    
    You can resolve the problem by installing the specified framework and/or SDK.
    
    The specified framework can be found at:
      - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=5.0.7&arch=x64&rid=fedora.34-x64
    
    Host (useful for support):
      Version: 5.0.7
      Commit:  556582d964
    
    .NET SDKs installed:
      3.1.410 [/usr/share/dotnet/sdk]
      5.0.301 [/usr/share/dotnet/sdk]
    
    .NET runtimes installed:
      No runtimes were found.
    
    To install additional .NET runtimes or SDKs:
      https://aka.ms/dotnet-download
    

    But when I try to install a runtime:

    [root@BUILD-LINUX2 ~]# dnf install aspnetcore-runtime-5.0
    Last metadata expiration check: 0:46:02 ago on Sun 20 Jun 2021 02:07:03 PM PDT.
    Package aspnetcore-runtime-5.0-5.0.4-1.fc34.x86_64 is already installed.
    Dependencies resolved.
    Nothing to do.
    Complete!
    

    This appears to be because openssl-compat10 is not available on FC34. How did you get yours working?

  7. omajid commented on Jun 22, 2021

    @omajid
    Member

    Hey @LightBender. It looks like you have a mix of .NET-related packages. Some from Microsoft (packages.microsoft.com) and some from Fedora.

    Could you share the output of dnf repolist?

    Have you seen https://docs.microsoft.com/en-us/dotnet/core/install/linux-package-mixup#solutions ? That has a couple of solutions on what you can do to solve this issue. In my case, I removed the Microsoft packages repository and then installed .NET from Fedora. A dnf install dotnet-sdk-5.0 in a fresh Fedora 34 install should work out of the box.

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions