We know .NET Core supports Linux x64 and x86, MacOS X, Windows... but is it ready to use in Linux for Raspberry Pi? (Raspbian, for example).
Asked
Active
Viewed 6,384 times
13
-
2I'm not sure that they support `ARM` yet, but you can always install mono that should be in Raspbian repository – Sergey Litvinov Jul 01 '16 at 13:39
-
Some relevant discussion here: http://forums.dotnetfoundation.org/t/can-we-use-net-core-on-arm-processors/1291 – Nate Barbettini Jul 01 '16 at 16:37
-
3Possible duplicate of [Is it possible to run .NET Core on Raspberry PI?](http://stackoverflow.com/questions/26907857/is-it-possible-to-run-net-core-on-raspberry-pi) – Nate Barbettini Jul 01 '16 at 16:39
-
2Found a relavant thread, http://raspberrypi.stackexchange.com/questions/41762/visual-studio-code-net-core-arm-support – Jackie Jul 04 '16 at 03:05
-
Considering that the core CLR unit test run for a month now.... I bet on Build 2017 conference ☺ – Thomas Jan 16 '17 at 23:05
-
[More recent discussion here](https://github.com/dotnet/coreclr/issues/9168). – Tagc Feb 02 '17 at 16:44
3 Answers
2
According to discussion here sample solution is working on Raspbian. Official instructions are here.
Personally I'm using Ubuntu Server Standard as in this guide but I suppose that is not linux for raspberry as mentioned in your question.

Tomas
- 675
- 8
- 17
-
2I can confirm that it runs on an RPi 3 rocking Ubuntu 16.04. Unfortunately not with enough performance to handle my ASP.NET Core app...but it does run. – Tagc Jul 17 '17 at 14:55
2
.NET Core 2.1 supports Raspberry Pi.
Here is how to install .NET Core 2.1 on Raspberry Pi:
$ sudo apt-get -y update
$ sudo apt-get -y install libunwind8 gettext
$ wget https://dotnetcli.blob.core.windows.net/dotnet/Sdk/2.1.300/dotnet-sdk-2.1.300-linux-arm.tar.gz
$ wget https://dotnetcli.blob.core.windows.net/dotnet/aspnetcore/Runtime/2.1.0/aspnetcore-runtime-2.1.0-linux-arm.tar.gz
$ sudo mkdir /opt/dotnet
$ sudo tar -xvf dotnet-sdk-2.1.300-linux-arm.tar.gz -C /opt/dotnet/
$ sudo tar -xvf aspnetcore-runtime-2.1.0-linux-arm.tar.gz -C /opt/dotnet/
$ sudo ln -s /opt/dotnet/dotnet /usr/local/bin
$ dotnet --info

1iveowl
- 1,622
- 1
- 18
- 31
-
1
-
1
-
@SuperJMN have you tried it? (as I see you changed the accepted answer :D) – Mohammed Noureldin Jun 03 '18 at 22:16
-
1@MohammedNoureldin Yes, I tried and works perfectly :) it builds, too! – SuperJMN Jun 04 '18 at 08:27
-
1@SuperJMN perfect, that will make the life much easier. Thank you! – Mohammed Noureldin Jun 04 '18 at 08:30
-
Why is this needed? => https://dotnetcli.blob.core.windows.net/dotnet/aspnetcore/Runtime/2.1.0/aspnetcore-runtime-2.1.0-linux-arm.tar.gz – SuperJMN Oct 25 '18 at 13:32
0
This tutorial describes (in German) how to up .NET Core on Linux (Raspberry Pi). This is an automated English translation.

Dmitry Pavlov
- 30,789
- 8
- 97
- 121
-
About halfway down the translation abruptly stops and it continues only in German. – Tagc Jan 25 '17 at 14:35
-
Fortunately enough, using the Edge browser and its Translator Extension, the translation is all the way in English. – SuperJMN Jan 25 '17 at 21:48
-
I successfully followed the steps until I reached the "dnvm upgrade -u" command. It says it "Cannot find the command". Anyone? – SuperJMN Jan 25 '17 at 22:16
-
Maybe it is not installed. Check this http://stackoverflow.com/questions/33130092/dvnm-not-a-recognized-as-an-internal-or-external-command-operable-program-or-bat – Dmitry Pavlov Jan 26 '17 at 10:20
-
@DmitryPavlov Sure, but how do I install it in Raspbian for the RPi3? – SuperJMN Jan 28 '17 at 11:48
-
It seems to be not possible for RPi3 yet - http://stackoverflow.com/questions/40013926/net-core-installation-on-windows-10-iot-raspberry-pi3-arm Or maybe I am wrong and it is possible http://stackoverflow.com/questions/39560892/is-net-core-ready-to-run-on-raspberry-pi-3 Feel free to look the related threads and follow the instructions. Or maybe even try to be a pioneer and be the first who made something working. – Dmitry Pavlov Jan 28 '17 at 14:58