How to install Dotnet Core on Centos 7 ?

Dotnet Core is now available with the Linux OS. Following are the steps to install Dotnet Core on Centos.

  1. Login 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
  1. 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
  1. Verify the dot net version using the below command.
dotnet --version/strong>
  • 1 Users Found This Useful

Was this answer helpful?

Related Articles

How to use gzip in Linux?

Linux has many commands line tools to compress/decompress files and gzip is one of them. In this...

How to Run Multiple PHP versions with Nginx on Ubuntu?

You can run multiple php versions on Ubuntu without any issue. You require Multiple php versions...

bash: netstat: command not found.

You may face the below error on your Linux OS if you haven’t installed the netstat command...

What are the benefits of CloudLinux?

There are numerous advantages and benefits of CloudLinux OS and we will discuss it in this...

How To Install EPEL Repo on CentOS and RHEL 7?

EPEL stands for Extra Packages for Enterprise Linux. It is very easy to install additional...