Unable to install dotnet 2.1.1 on Nvidia Jetson nano

Amir ISMAIL (ENISo) 1 Reputation point
2021-12-15T08:34:03.453+00:00

I am trying to set for a dotnet service for a particular project. Since I was not able to install it through sudo apt-get install dotnet-sdk-2.1, I downloaded the dotnet-sdk-2.1.301-linux-arm64.tar.gz for arm64 architectures.

When I run this command: dotnet --info
I got:
.NET Core SDK (reflecting any global.json):
Version: 2.1.301
Commit: 59524873d6

Runtime Environment:
OS Name: ubuntu
OS Version: 18.04
OS Platform: Linux
RID: ubuntu.18.04-arm64
Base Path: /home/jetson/dotnet/sdk/2.1.301/

Host (useful for support):
Version: 2.1.1
Commit: 6985b9f684

.NET Core SDKs installed:
2.1.301 [/home/jetson/dotnet/sdk]

.NET Core runtimes installed:
Microsoft.NETCore.App 2.1.1 [/home/jetson/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

It is clear that .AspNetCore.APP 2.1.1. is not there. When i run the app, it shows up with this output:

It was not possible to find any compatible framework version. The specified framework 'Microsoft.AspNetCore.App', version '2.1.1' was not found.

Is there a way to overcome this issue.

Developer technologies | ASP.NET | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 78,161 Reputation points Volunteer Moderator
    2021-12-15T16:23:25.84+00:00

    You are unlikely to find a precompiled version of .net for your distro as it is not a standard one.

    You will probably need to build your own .net runtime library. As jetson nano is a dead platform, it not likely to get any support.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.