📜  在 ubuntu 上安装 .net sdk - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:12.153000             🧑  作者: Mango

代码示例1
# with Snap
sudo snap install dotnet-sdk --classic --channel=5.0

#with apt
wget https://packages.microsoft.com/config/ubuntu/21.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
sudo apt-get install -y apt-transport-https
 sudo apt-get install -y dotnet-sdk-5.0