Эльбрус/dotnet: различия между версиями

Материал из ALT Linux Wiki
(Новая страница: «== Net Core 3.1 == # Получите SDK у МЦСТ. # Распакуйте содержимое в '''/opt/mcst/dotnet''' # Установите переменную окружения '''export PATH=/opt/mcst/dotnet:$PATH''' Проверяем: <code>:~$ dotnet --info Пакет SDK для .NET Core (отражающий любой global.json): Version: 3.1.114 Commit: 07ddd844dc Среда выполнения: OS Name: elbrus OS Vers...»)
 
Строка 7: Строка 7:
Проверяем:  
Проверяем:  


<code>:~$ dotnet --info
<nowiki>:~$ dotnet --info
Пакет SDK для .NET Core (отражающий любой global.json):
Пакет SDK для .NET Core (отражающий любой global.json):
  Version:  3.1.114
  Version:  3.1.114
Строка 17: Строка 17:
  OS Platform: Linux
  OS Platform: Linux
  RID:        ubuntu.16.04-x64
  RID:        ubuntu.16.04-x64
  Base Path:  /export/home/entityfx/dotnet_e2k/sdk/3.1.114/
  Base Path:  /opt/mcst/dotnet/sdk/3.1.114/


Host (useful for support):
Host (useful for support):
Строка 24: Строка 24:


.NET Core SDKs installed:
.NET Core SDKs installed:
   3.1.114 [/export/home/entityfx/dotnet_e2k/sdk]
   3.1.114 [/opt/mcst/dotnet/sdk]


.NET Core runtimes installed:
.NET Core runtimes installed:
   Microsoft.AspNetCore.App 3.1.14 [/export/home/entityfx/dotnet_e2k/shared/Micro                                                    soft.AspNetCore.App]
   Microsoft.AspNetCore.App 3.1.14 [/opt/mcst/dotnet/shared/Microsoft.AspNetCore.App]
   Microsoft.NETCore.App 3.1.14 [/export/home/entityfx/dotnet_e2k/shared/Microsof                                                    t.NETCore.App]
   Microsoft.NETCore.App 3.1.14 [/opt/mcst/dotnet/shared/Microsoft.NETCore.App]


To install additional .NET Core runtimes or SDKs:
To install additional .NET Core runtimes or SDKs:
Строка 42: Строка 42:
  OS Platform: Linux
  OS Platform: Linux
  RID:        ubuntu.16.04-x64
  RID:        ubuntu.16.04-x64
  Base Path:  /export/home/entityfx/dotnet_e2k/sdk/3.1.114/
  Base Path:  /opt/mcst/dotnet/sdk/3.1.114/


Host (useful for support):
Host (useful for support):
Строка 49: Строка 49:


.NET Core SDKs installed:
.NET Core SDKs installed:
   3.1.114 [/export/home/entityfx/dotnet_e2k/sdk]
   3.1.114 [/opt/mcst/dotnet/sdk]


.NET Core runtimes installed:
.NET Core runtimes installed:
   Microsoft.AspNetCore.App 3.1.14 [/export/home/entityfx/dotnet_e2k/shared/Microsoft.AspNetCore.App]
   Microsoft.AspNetCore.App 3.1.14 [/opt/mcst/dotnet/shared/Microsoft.AspNetCore.App]
   Microsoft.NETCore.App 3.1.14 [/export/home/entityfx/dotnet_e2k/shared/Microsoft.NETCore.App]
   Microsoft.NETCore.App 3.1.14 [/opt/mcst/dotnet/shared/Microsoft.NETCore.App]


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

Версия от 13:37, 30 марта 2022

Net Core 3.1

  1. Получите SDK у МЦСТ.
  2. Распакуйте содержимое в /opt/mcst/dotnet
  3. Установите переменную окружения export PATH=/opt/mcst/dotnet:$PATH

Проверяем:

:~$ dotnet --info Пакет SDK для .NET Core (отражающий любой global.json): Version: 3.1.114 Commit: 07ddd844dc Среда выполнения: OS Name: elbrus OS Version: 6 OS Platform: Linux RID: ubuntu.16.04-x64 Base Path: /opt/mcst/dotnet/sdk/3.1.114/ Host (useful for support): Version: 3.1.12 Commit: 1dbb9c89c3 .NET Core SDKs installed: 3.1.114 [/opt/mcst/dotnet/sdk] .NET Core runtimes installed: Microsoft.AspNetCore.App 3.1.14 [/opt/mcst/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 3.1.14 [/opt/mcst/dotnet/shared/Microsoft.NETCore.App] To install additional .NET Core runtimes or SDKs: https://aka.ms/dotnet-download entityfx@yukari:~$ dotnet --info Пакет SDK для .NET Core (отражающий любой global.json): Version: 3.1.114 Commit: 07ddd844dc Среда выполнения: OS Name: elbrus OS Version: 6 OS Platform: Linux RID: ubuntu.16.04-x64 Base Path: /opt/mcst/dotnet/sdk/3.1.114/ Host (useful for support): Version: 3.1.12 Commit: 1dbb9c89c3 .NET Core SDKs installed: 3.1.114 [/opt/mcst/dotnet/sdk] .NET Core runtimes installed: Microsoft.AspNetCore.App 3.1.14 [/opt/mcst/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 3.1.14 [/opt/mcst/dotnet/shared/Microsoft.NETCore.App] To install additional .NET Core runtimes or SDKs: https://aka.ms/dotnet-download