This tutorial explained how to install .net core on Debian 11 Linux system.

Login to your debain system with sudo privileged account.

Open a terminal, update the apt cache and install below required packages

1.Update Debian 11 ‘Bullseye’

2.Enable Microsoft PPA

First, you need to enable Microsoft packages repository on your Debian system. The Microsoft official team provides a Debian packages to create PPA file on your system.

Open a terminal on your Debian system and configure Microsoft PPA by run the following commands:

3.Install NET Core 3.1 Runtime On Debian 11 ‘Bullseye’

The .NET Core 3.1 Runtime used for running application build on .NET Core. Open a terminal and execute below commands to install .NET Core SDK:

4.Test

To check if the runtime is intalled and run correctly, ppen a terminal and execute below commands

5 Conclusion

The .NET 3.1 Runtime is working

6 Optional, install SDK

The steps above is to install the .NET Core 3.1 Runtime without the SDK, usually for the production server only. If you want to install the .NET Core 3.1 SDK for development machine, Open terminal and type this :

7 Test the SDK

8 Conclusion about SDK

The SDK is installed alongside with the Runtime

Reference

Leave A Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.