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

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

Closed
6 tasks done
RheaAyase opened this issue Nov 13, 2020 · 15 comments
Closed
6 tasks done

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

RheaAyase opened this issue Nov 13, 2020 · 15 comments

Comments

@RheaAyase
Copy link
Member

RheaAyase commented Nov 13, 2020

.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.

@eLPe21
Copy link

eLPe21 commented Nov 19, 2020

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

@omajid
Copy link
Member

omajid commented Nov 19, 2020

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?

@azixaka
Copy link

azixaka commented Nov 25, 2020

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

@dagood
Copy link
Member

dagood commented Nov 25, 2020

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.

@RheaAyase
Copy link
Member Author

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

@RheaAyase
Copy link
Member Author

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

@RheaAyase
Copy link
Member Author

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

@RheaAyase
Copy link
Member Author

Oh and a fancy new developer page for dotnet on RHEL can be found at http://redhatloves.net :)

@the-black-wolf
Copy link

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

@omajid
Copy link
Member

omajid commented Dec 14, 2020

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.

@secana
Copy link

secana commented Jan 11, 2021

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

@RheaAyase
Copy link
Member Author

This didn't change.

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

@RheaAyase
Copy link
Member Author

.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.

@GeeWee
Copy link

GeeWee commented Apr 5, 2021

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

@RheaAyase
Copy link
Member Author

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants