L1: mov cx, 2
sub bx,ax
loop L1
Нужно добавить Майкрософтовский репозиторий и все ставить через тот же dnf.
и более позднего в официальном репозитории Microsoft для Linux нет.
Для Fedora 36 есть - https://packages.microsoft.com/fedora/36/prod/
[pfemidi@pfemidi ~]$ dnf list --installed | grep dotnet
dotnet.x86_64 6.0.108-1.fc36 @updates
dotnet-apphost-pack-6.0.x86_64 6.0.8-1.fc36 @updates
dotnet-host.x86_64 6.0.8-1.fc36 @updates
dotnet-hostfxr-6.0.x86_64 6.0.8-1.fc36 @updates
dotnet-runtime-6.0.x86_64 6.0.8-1.fc36 @updates
dotnet-sdk-6.0.x86_64 6.0.108-1.fc36 @updates
dotnet-targeting-pack-6.0.x86_64 6.0.8-1.fc36 @updates
dotnet-templates-6.0.x86_64 6.0.108-1.fc36 @updates
[pfemidi@pfemidi ~]$
[pfemidi@pfemidi ~]$ dotnet new --list
These templates matched your input:
Template Name Short Name Language Tags
------------------------------------------- -------------- ---------- --------------------------
ASP.NET Core Empty web [C#],F# Web/Empty
ASP.NET Core gRPC Service grpc [C#] Web/gRPC
ASP.NET Core Web API webapi [C#],F# Web/WebAPI
ASP.NET Core Web App webapp,razor [C#] Web/MVC/Razor Pages
ASP.NET Core Web App (Model-View-Control... mvc [C#],F# Web/MVC
ASP.NET Core with Angular angular [C#] Web/MVC/SPA
ASP.NET Core with React.js react [C#] Web/MVC/SPA
Blazor Server App blazorserver [C#] Web/Blazor
Blazor WebAssembly App blazorwasm [C#] Web/Blazor/WebAssembly/PWA
Class Library classlib [C#],F#,VB Common/Library
Console App console [C#],F#,VB Common/Console
dotnet gitignore file gitignore Config
Dotnet local tool manifest file tool-manifest Config
EditorConfig file editorconfig Config
global.json file globaljson Config
MSTest Test Project mstest [C#],F#,VB Test/MSTest
MVC ViewImports viewimports [C#] Web/ASP.NET
MVC ViewStart viewstart [C#] Web/ASP.NET
NuGet Config nugetconfig Config
NUnit 3 Test Item nunit-test [C#],F#,VB Test/NUnit
NUnit 3 Test Project nunit [C#],F#,VB Test/NUnit
Protocol Buffer File proto Web/gRPC
Razor Class Library razorclasslib [C#] Web/Razor/Library
Razor Component razorcomponent [C#] Web/ASP.NET
Razor Page page [C#] Web/ASP.NET
Solution File sln Solution
Web Config webconfig Config
Worker Service worker [C#],F# Common/Worker/Web
xUnit Test Project xunit [C#],F#,VB Test/xUnit
[pfemidi@pfemidi ~]$
[pfemidi@pfemidi ~]$ dotnet new
The 'dotnet new' command creates a .NET project based on a template.
Common templates are:
Template Name Short Name Language Tags
-------------------- ------------ ---------- -------------------
ASP.NET Core Web App webapp,razor [C#] Web/MVC/Razor Pages
Blazor Server App blazorserver [C#] Web/Blazor
Class Library classlib [C#],F#,VB Common/Library
Console App console [C#],F#,VB Common/Console
An example would be:
dotnet new console
Display template options with:
dotnet new console -h
Display all installed templates with:
dotnet new --list
Display templates available on NuGet.org with:
dotnet new web --search
[pfemidi@pfemidi ~]$