Raspberry Pi

How to Install .Net Framework on Raspberry Pi

.Net is a framework that enables software developers to use code written in other programming languages. It is a virtual app machine that ensures better security, exception handling, and memory management. This framework is widely used in Windows operating systems, helping users to switch to different programming languages easily.

You must install the .Net framework through this article’s guidelines to use your Raspberry Pi device for developing different applications. It will provide you the freedom and flexibility to do your job by switching to multiple programming languages.

How to Install .Net on Raspberry Pi

To install .Net on Raspberry Pi, follow the below-mentioned steps:

Step 1: Download .Net Core and SDK

First, go to the official .Net Microsoft website and download the latest version of .Net SDK on Raspberry Pi. The latest version right now, at the time of writing this article, is “7.0.100”.

Since I am using Raspberry Pi 32-Bit OS, the terminal command to download .Net SDK is given below:

$ wget https://download.visualstudio.microsoft.com/download/pr/fd193b5b-f171-436e-8783-5eb77a7ad5ee/2a0af2a874f3c4f7da0199dc64996829/dotnet-sdk-7.0.100-linux-arm.tar.gz

Step 2: Create a .Net Directory

Create a .Net directory in the administrator folder through the following command:

$ sudo mkdir -p /opt/dotnet

Step 3: Extract the .Net SDK Content

To extract the .Net SDK content inside the .Net directory, use the following command:

$ sudo tar -xf dotnet-sdk-7.0.100-linux-arm.tar.gz -C /opt/dotnet

Step 4: Create a Symbolic Link

You must create a symbolic link through the following command so that you will be able to execute the .Net related command:

$ sudo ln -s /opt/dotnet/dotnet /usr/bin

Step 5: Confirm .Net Installation

To confirm .Net is successfully installed, follow the below-given command:

$ dotnet --version

At this point, you have successfully installed .Net latest version on your Raspberry Pi system.


.Net is a framework for software developers that allows them to easily switch to multiple programming languages while coding on different tasks related to IoT, AI, and more. To install this framework, you must download the .Net SDK from the official website and extract the files inside the administrator directory. After that, you must create a symbolic link to confirm the installation of .Net on your Raspberry Pi system.

About the author

Awais Khan

I'm an Engineer and an academic researcher by profession. My interest for Raspberry Pi, embedded systems and blogging has brought me here to share my knowledge with others.