安装环境: centOS 7.0
其他环境参照: https://www.microsoft.com/net/download/linux-package-manager/centos/sdk-current
Add the dotnet product feed
Before installing .NET, you’ll need to register the Microsoft key, register the product repository, and install required dependencies. This only needs to be done once per machine.
Open a command prompt and run the following commands:
sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm
Install the .NET SDK
sudo yum update
s