About .net installation on Debian 11

h-abe 31 Reputation points
2021-08-16T07:26:42.127+00:00

The other day, Debian 11 (bullseye) was officially released.

The following repository provided when installing ASP .net core is not prepared for Debian 11.

https://packages.microsoft.com/debian/

When will Debian 11 be supported?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,237 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Rob Janssen 1 Reputation point
    2021-08-18T08:05:01.67+00:00

    It appears the bullseye package source has been added (https://packages.microsoft.com/debian/11/prod) so you should be able to change the /etc/apt/sources.list.d/microsoft-prod.list to:

    deb [arch=amd64,armhf,arm64] https://packages.microsoft.com/debian/11/prod bullseye main
    

    However, sudo apt-get install -y dotnet-sdk-5.0 returns:

    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    E: Unable to locate package dotnet-sdk-5.0
    E: Couldn't find any package by glob 'dotnet-sdk-5.0'
    E: Couldn't find any package by regex 'dotnet-sdk-5.0'
    

    So I don't think it's quite ready.

    0 comments No comments

  2. Przemysław Kaczmarski 1 Reputation point
    2021-09-11T16:06:12.487+00:00

    it's working now!

    0 comments No comments