How do you install .NET Core on deepin?
Tofloor
poster avatar
ketankshukla
deepin
2017-07-23 16:20
Author
I'm trying to install .NET Core Debian version on deepin 15.4.1 but keep getting this error:
Failed to initialize CoreCLR, HRESULT: 0x80131500

I followed the instructions for the Debian install here: https://www.microsoft.com/net/core#linuxdebian

These are the 4 lines they want you to execute:

  • sudo apt-get install curl libunwind8 gettext
  • curl -sSL -o dotnet.tar.gz https://go.microsoft.com/fwlink/?linkid=848826
  • sudo mkdir -p /opt/dotnet && sudo tar zxf dotnet.tar.gz -C /opt/dotnet
  • sudo ln -s /opt/dotnet/dotnet /usr/local/bin


Nothing happens after the second line.

Any ideas on how to install .NET Core on deepin 15.4.1?

Thanks!





Reply Favorite View the author
All Replies
sendlan
deepin
2017-07-23 16:36
#1
Reply View the author
134******40
deepin
2017-07-23 18:40
#2
本帖最后由 jdocker 于 2017-7-23 10:43 编辑

Downloading donet.tar.gz takes a long time, and you need to wait until the download is complete.like it:

Reply View the author
134******40
deepin
2017-07-23 18:49
#3
and you need install libicu52 library:
  1. sudo apt-get install libicu52
Copy the Code

Reply View the author
ketankshukla
deepin
2017-07-24 00:36
#4
https://bbs.deepin.org/post/143025
and you need install libicu52 library:

Thanks for your help.
I can now get to the point where when I type dotnet - I get the output dump same as above.
However - when I type dotnet new console -o console_app ... I get the following error:
Segmentation Fault.
Reply View the author
134******40
deepin
2017-07-24 03:50
#5
https://bbs.deepin.org/post/143025
Thanks for your help.
I can now get to the point where when I type dotnet - I get the output dump  ...

Deepin OS has multiple versions of the libicu library, which defaults to libicu57, but dotnet needs libicu52, so version library conflicts. But libicu57 is called by many programs, so it cannot uninstall libicu57. I am trying to solve the problem..
Reply View the author
electricface
deepin
2017-07-24 13:57
#6
install in docker
Reply View the author
134******40
deepin
2017-07-25 04:31
#7
https://bbs.deepin.org/post/143025
Thanks for your help.
I can now get to the point where when I type dotnet - I get the output dump  ...

like this:
1. download libcurl3_7.38.0-4+deb8u3_amd64.deb
http://ftp.br.debian.org/debian/pool/main/c/curl/libcurl3_7.38.0-4+deb8u5_amd64.deb
2. install libcurl3_7.38.0-4+deb8u3_amd64.deb
  1. sudo dpkg -i libcurl3_7.38.0-4+deb8u3_amd64.deb
Copy the Code

3. purge curl command and lock libcurl3 library
  1. sudo apt purge curl
  2. sudo apt-mark hold libcurl3
Copy the Code

4. run dotnet example
  1. dotnet restore
  2. dotnet run
Copy the Code
Reply View the author
ketankshukla
deepin
2017-07-26 09:53
#8
https://bbs.deepin.org/post/143025
like this:
1. download libcurl3_7.38.0-4+deb8u3_amd64.deb
http://ftp.br.debian.org/debian/pool/ma ...

Fantastic!

Thank you so much, it works perfectly!

Cheers! and keep up the good work ... love deepin!
Reply View the author