Install .net core 5 on Raspberry Pi/Raspbian

How to Install .net core 5 on Raspberry Pi (Raspbian 32 bit). At the moment of writing this, there is only a beta version of the 64 bit Raspbian. So here is how we install .net core on 32 bit Raspbian. The version might have changed from when I wrote this, until you read it. Today the last version of .net core 5 runtime is 5.07. You can check the official .net core page for the current version.

Step 1: Download .net core 5 for Linux ARM

Direct download link for version 5.0.7:

As mentioned above, the version might have changed. Open the terminal window before continuing. You can either download it from clicking that link or open the terminal and type the following:

curl -SL -o dotnet.tar.gz

This will download the .net core 5 into a file called dotnet.tar.gz.

Step 2: Create a folder for .net core 5

We will now create a folder for the .net core. We will use /usr/share to store it and create a symbolic link to the /usr/bin folder so we don’t need to change environment variables to access it.

sudo mkdir -p /usr/share/dotnet

Step 3: Extract the files

Extract the files to the /usr/share/folder we just created.

sudo tar -zxf dotnet.tar.gz -C /usr/share/dotnet

Step 4: Create a symbolic link to dotnet

As mentioned, we will create a symbolic link to make it available from anywhere.

sudo ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet

In sdk of .net core we could type dotnet –version to check the version. This will not work in the runtime version. Here we will check which runtime versions that is installed.

dotnet --list-sdks

It will return something like this. In this list I also have version 3 runtime installed.

3.1.409 [/usr/share/dotnet/sdk]
5.0.300 [/usr/share/dotnet/sdk]

So that is how you Install .net core 5 on Raspberry Pi.

If you are looking for how to install version 3, check out my previous article.

About Author

Related Posts

Raspbian default password

Raspbian default password

Looking for the Raspbian default password? It is the most essential username and password that you will need for your raspberry. At least if you are running…

Raspbian Buster Static IP

Raspbian Buster Static IP, how to set it

Raspbian Buster static IP is set a little bit differently from how it was done in Raspbian Jessie. Since Raspbian Stretch the file /etc/dhcpcd.conf has been used…

net core 3 raspberry pi

.net core 3.0 Raspberry Pi

Here is how to install net core 3 Raspberry Pi version. Even though Raspberry Pi on all models, has a 64bit CPU, Raspbian is only 32 bit….

Sd card size for Raspberry Pi 3

Sd card size for Raspberry Pi 3

Sd card size for raspberry pi 3 capacity wise is for normal cards 32GB. To use any SD card larger than 32GB you will need to format…

raspberry pi 3 uae

Raspberry Pi 3 UAE, emulating Amiga

Raspberry Pi 3 is a great tool for development, engineering, and games. Yes, games. You can run UAE on it to make your Raspberry pi 3 UAE…

Raspberry – Wifi on DHCP with WPA2 (AWus036H)

Raspberry Wifi Getting the Raspberry pi up and running on your wifi router has a lot of practical uses. One of the ups, is that there is…

Leave a Reply