1. 程式人生 > >.NET Core Linux環境搭建(CentOS 7)

.NET Core Linux環境搭建(CentOS 7)

Install .NET Core SDK

Before you start, please remove any previous versions of .NET Core from your system.

In order to install .NET Core 1.1 on CentOS or Oracle Linux, first you need to get the prerequisites and then you download the .NET Core SDK binaries, extract them onto your system and put dotnet

 onto your PATH.

For other releases you can check the Linux downloads section.

  1. sudo yum install libunwind libicu
  2. curl -sSL -o dotnet.tar.gz https://go.microsoft.com/fwlink/?linkid=848821
  3. sudo mkdir -p /opt/dotnet && sudo tar zxf dotnet.tar.gz -C /opt/dotnet
  4. sudo ln -s /opt/dotnet/dotnet /usr/local/bin