https://www.microsoft.com/net/download/dotnet-core/2.1
如果架构不对,会出现一下错误:
-bash: /usr/bin/dotnet: cannot execute binary file
mkdir -p /usr/share/dotnet && tar zxf dotnet-sdk-2.1.300-linux-x64.tar.gz -C /usr/share/dotnet
ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
FailFast: Couldn't find a valid ICU package installed on the system.
yum install icu -y