Centos 7 安装 dotnet 环境下载官方 rpm yum 源 直接 yum install 安装rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm yum update yum install dotnet-sdk-2.2 -y执行程序:直接执行 dotnet *.dll 文件dotnet dotnet --info dotnet service.dll