如何在Ubuntu 22.04中安装.NET

.NET开发人员现在可以使用简单的命令在Ubuntu中安装ASP.NET和.NET SDK运行时
Microsoft 和 Canonical 正在合作保护 .NET 和 Ubuntu 之间的软件供应链,并提供企业级支持
在 Ubuntu 上安装 .NET 6
有了 Canonical 存储库的新增功能,在 Ubuntu 22.04 LTS 上安装和保持 .NET 和 ASP.NET 更新非常简单:
# 快速安装包含 SDK 和运行时的捆绑包
sudo apt update && sudo apt install dotnet6
# 或只挑选您需要开发或运行的依赖项
sudo apt install dotnet-sdk-6.0
sudo apt install dotnet-runtime-6.O
sudo apt install aspnetcore-runtime-6.0

