About .net installation on Debian 11

h-abe 31 Reputation points

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

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


When will Debian 11 be supported?

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

    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

    it's working now!

    0 comments No comments