.NET Core is a software developed by Microsoft. It is a cross-platform software development platform. It is used to create a variety of applications, including desktop, web, mobile and cloud applications.

.NET Core has its advantages. It is free to use and has support for working on various operating systems. It supports programming languages ​​such as C#, Visual Basic and C++. With the .NET Core platform, you can develop applications in any field you want. You can develop web technologies, mobile applications and games, database and cloud applications, respectively.

Important information

You must install according to the Debian version supported by the Pardus operating system you are using. Click on the specified link for detailed information.


The operating system used in this article is Pardus 23 version and has Debian 12 support. The next steps will be performed for this version.


First, run the following commands. In this step, the relevant package repository will be added.

wget https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb -O packages-microsoft-prod.deb sudo dpkg -i packages-microsoft-prod.deb rm packages-microsoft-prod .deb

After this step, .NET SDK will be installed. To do this, run the following commands. You can also develop .NET Core applications with the .NET SDK.

sudo apt-get update && \ sudo apt-get install -y dotnet-sdk-7.0

Important information

ASP.NET Core Runtime comes installed in the .NET SDK. If you specifically want to make runtime-related installations, you can follow the steps below.

sudo apt-get update && \ sudo apt-get install -y aspnetcore-runtime-7.0

After these steps, .NET Core installation is completed. Now we will create and run our first application.

First Application Production

In this step, C# programming language will be used. First, you must create a development environment. Run the commands below to create the environment for .NET Core. In this step, we used a console application theme and logged into the created folder. We have chosen the name of the workspace we created as "Trial", you can change it optionally.

dotnet new console -n Trial cd Trial

By default, there is a file named Program.cs in the relevant folder. Open this file and you will see the following lines as an example. Optionally, you can add any C# commands you want here.

Optionally delete all lines and paste the C# code below and close the file.

Console.WriteLine("Hello Pardus 23!");

Now we can run our application. To do this, run the following command on the terminal.

dot net run

In this article, we made a successful .NET Core installation and created and ran our first application.