Jump to content

Daniel Lavrushin

Validating
  • Posts

    1
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Daniel Lavrushin got a reaction from grixm in How to manually install dotnet7 runtime on armbian (Tinkerboard)   
    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.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines