mint19.1在安装.net core过程中由于依赖问题总是安装失败,问题在于没有安装libicu55导致.net core安装失败
1.下载libicu55
https://packages.ubuntu.com/zh-cn/xenial/amd64/libicu55/download
deb包可以使用dpkg命令安装,mint自身也支持安装deb包
2.注册密钥,产品库,安装依赖项(不懂)
官网教程
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg
sudo mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/
wget -q https://packages.microsoft.com/config/debian/9/prod.list
sudo mv prod.list /etc/apt/sources.list.d/microsoft-prod.list
sudo chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg
sudo chown root:root /etc/apt/sources.list.d/microsoft-prod.list
sudo apt-get update
挨个安装(不然一直报缺少依赖),安装过程中会下载,比较慢
sudo apt-get install dotnet-runtime-deps-2.2
sudo apt-get install dotnet-runtime-2.2
sudo apt-get install dotnet-sdk-2.2
网友评论