I'm new to .NET core and I am trying to run some basic examples on a CentOS machine.
I've read the Microsoft Documentation and found these steps to be the closest guide to what I want to do:
http://dotnet.github.io/core/getting-started/
After following these steps I could run a test/sample application but only under mono( e.g.after issuing
$ dnvm use [version] -r mono
followed by
$ dnu restore
and
$ dnx . run
)
When running under .NET Core ($ dnvm use [version] -r coreclr ) I get the following error:
dnx: /usr/lib64/libstdc++.so.6: version GLIBCXX_3.4.14' not found (required by dnx)
dnx: /usr/lib64/libstdc++.so.6: version
GLIBCXX_3.4.15' not found (required by dnx)
I tried updating my gcc but to no avail. I also found that there were some errors when issuing:
$ yum install libunwind8 libssl-dev unzip
The libunwind8, libssl-dev packages where not found.
Are the two related? Has anyone successfully installed .NET core on CentOS? If so could you point me to a guide or explain the process?
Thank you!
NET works well on their Linux distributions. Support is provided by those distributions. You can still open issues at dotnet/core if you run into problems.
To download the latest version of . NET Core, go to https://dotnet.microsoft.com/download and select the platform you are using. As you can see above, . NET Core Runtime and .
You can install .NET Core on CentOS 7 now using the following steps:
yum install centos-release-dotnet
yum install rh-dotnet20
To use it:
scl enable rh-dotnet20 bash
dotnet --info
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With