Dotnet Core is now available with the Linux OS. Following are the steps to install Dotnet Core on Centos.
- Login the centos via SSH.
- Open a terminal and run the following commands.
sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm
- Update the available products and install the .NET SDK. In your terminal, run the following commands:
sudo yum update
sudo yum install dotnet-sdk-2.2
- Verify the dot net version using the below command.
dotnet --version/strong>