Jump to content

Recommended Posts

Posted (edited)

Hej,

Microsoft has recently announced a new release of the dotnet  version 7. 

 

I just wanted to guide how to get it running on armbian. It is actually pretty straightforward and takes only few steps.

 

if you have any previously installed dotnet runtime - rm it.

 

First things first, lets get the right package from the site:

https://dotnet.microsoft.com/en-us/download/dotnet/7.0

from here download arm32/64 version (I ll go with arm32)

wget https://download.visualstudio.microsoft.com/download/pr/61cb6649-f41f-4966-84ae-9ff673528054/9bbd07607c5a1af87354e1fa93c36a00/aspnetcore-runtime-7.0.0-linux-arm.tar.gz

 

run ls, you should see the archive

aspnetcore-runtime-7.0.0-linux-arm.tar.gz

 

Create a directory /opt/dotnet

sudo mkdir -p /opt/dotnet

 

Unarchive the file into it

sudo tar -zxf aspnetcore-runtime-7.0.0-linux-arm.tar.gz -C /opt/dotnet

 

create a symlink to dotnet

sudo ln -s /opt/dotnet /usr/bin/dotnet

 

check dotnet version you've just got installed

dotnet --info

 

you should see something like

Host:
  Version:      7.0.0
  Architecture: arm
  Commit:       d099f075e4

.NET SDKs installed:
  No SDKs were found.

.NET runtimes installed:
  Microsoft.AspNetCore.App 7.0.0 [/opt/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 7.0.0 [/opt/dotnet/shared/Microsoft.NETCore.App]

 

Here you go, now you can run your asp netcore apps on the boards running armbian :).

Enjoy.

Edited by Daniel Lavrushin

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines