# Import RPM Source
rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm
# Update Pacakge
yum update -y
# Install .Net Core SDK
yum install -y dotnet-sdk-2.2
參考資料:
https://dotnet.microsoft.com/download/linux-package-manager/centos/sdk-current