Dotnet Core is now available with the Linux OS.
Following are the steps to install Dotnet Core on CentOS –
1. Log in the CentOS via SSH.
2. Open a terminal and run the following commands –
sudo rpm -Uvh https://packages.microsoft.com/config/rhel/7/packages-microsoft-prod.rpm
3. 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
4. Verify the dot net version using the below command –