1.설치
1 2 3 |
sudo apt-get install -y dotnet-sdk-6.0 |
1.1.NET Runtime만 필요한 경우:
1 2 3 |
sudo apt-get install aspnetcore-runtime-6.0 |
2. 설치 확인
1 2 3 |
dotnet --version |
3. .NET SDK의 버전을 출력
1 2 3 4 5 |
dotnet --list-runtimes Microsoft.AspNetCore.App 6.0.28 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 6.0.28 [/usr/lib/dotnet/shared/Microsoft.NETCore.App] |