Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Fedora 34 #5851

Closed
15 tasks done
rbhanda opened this issue Jan 13, 2021 · 7 comments
Closed
15 tasks done

Add support for Fedora 34 #5851

rbhanda opened this issue Jan 13, 2021 · 7 comments
Assignees

Comments

@rbhanda
Copy link
Contributor

rbhanda commented Jan 13, 2021

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
@wfurt
Copy link
Member

wfurt commented Feb 16, 2021

master and 5.0 dotnet/runtime@19a0db4
3.1 dotnet/corefx#42975
2.1 dotnet/corefx#43024

@jorge-castello
Copy link

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!

@omajid
Copy link
Member

omajid commented May 10, 2021

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.

@adegeo
Copy link

adegeo commented May 10, 2021

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

@rbhanda
Copy link
Contributor Author

rbhanda commented May 10, 2021

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

@LightBender
Copy link

LightBender commented Jun 20, 2021

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?

@omajid
Copy link
Member

omajid commented Jun 22, 2021

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.

@rbhanda rbhanda closed this as completed Jul 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants