core icon indicating copy to clipboard operation
core copied to clipboard

Add support for Fedora 37

Open rbhanda opened this issue 2 years ago • 10 comments

This issue is created to track progress for the work to enable Fedora 37 support for .NET Core 3.1 and .NET 6.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

rbhanda avatar May 19 '22 18:05 rbhanda

Fedora 37 was released earlier this week: https://fedoramagazine.org/announcing-fedora-37/

omajid avatar Nov 17 '22 22:11 omajid

Are there any updates on this? Fedora is a widely used distro. It would be great to have official support

danielmarbach avatar Dec 16 '22 16:12 danielmarbach

As a workaround, the following gets you going on Fedora 37

sudo ./dotnet-install.sh --channel 7.0 --install-dir /usr/lib64/dotnet

See dotnet-install.sh

danielmarbach avatar Dec 16 '22 16:12 danielmarbach

As a workaround, the following gets you going on Fedora 37

sudo ./dotnet-install.sh --channel 7.0 --install-dir /usr/lib64/dotnet

Thank you @danielmarbach. If anyone else is like me, I like a "fire and forget" installation, where it keeps being updated with the rest of packages in the system. Does this script do that? Or is it a binary installation that we need to remember to update and/or replace with proper dnf installation when that is available?

Thanks

ac10n avatar Dec 21 '22 18:12 ac10n

@AlirezaHaghshenas it is unfortunately a binary installation that requires updates. The good thing though is that it pulls latest 7 binaries and since versions can live side by side you kind of get latest everytime you execute it. So as long as it is not available on dnf having this executed periodically might keep you reasonably up to date

danielmarbach avatar Dec 21 '22 18:12 danielmarbach

Are there any updates on this? Fedora is a widely used distro. It would be great to have official support

Fedora 37 itself is "supported" in the sense that .NET packages are available for it. Speaking as one of the Fedora .NET maintainers, we spend quite a bit of time making sure .NET works well on it (in collaboration with the upstream .NET maintainers here on GitHub).

If you are asking about .NET 7 in particular, we are trying to add it to Fedora (36 and later). It's stuck in Package Review blocked on a number of currently unresolved licensing questions. I don't think there are any technical issues here, though. Just some licensing/legal issues that need to be sorted out. And it's all blocked on Fedora's side :(

omajid avatar Dec 21 '22 21:12 omajid

Thank you @omajid I found that thread. I wish there was a way for us to help accelerate that.

ac10n avatar Jan 04 '23 03:01 ac10n

By the way, given how awesome VsCode is in working with a container, I was able to just run the .net 7 SDK image with a folder mapped to my project, and boom!! I have build, debug, intellisense.

docker run -it -v /path-to-my-project:/project mcr.microsoft.com/dotnet/sdk:7.0

ac10n avatar Jan 04 '23 03:01 ac10n

Is this issue still current @rbhanda?

mairaw avatar Feb 26 '24 02:02 mairaw

Fedora 37 reached EOL on 2023-12-05

omajid avatar Feb 26 '24 15:02 omajid