Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»Linux Distributions»Debian»How to Install .NET Core on Debian 10

    How to Install .NET Core on Debian 10

    By RahulNovember 8, 20202 Mins Read

    The .NET Core is a free and open-source software framework designed with keeping Linux and macOS in mind. It is a cross-platform successor to .NET Framework available for Linux, macOS and Windows systems. .NET Core framework already provides scaffolding tools for bootstrapping projects.

    Advertisement

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

    Prerequsities

    Login to your debain system with sudo privileged account.

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

    sudo apt update 
    sudo apt install apt-transport-https 
    

    Step 1 – Enable Microsoft PPA

    First of all, 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:

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

    Step 2 – Installing .NET core on Debian

    The .NET Core SDK is the Software development kit used for developing applications. The .net runtime used for running application build on .net core.

    Open a terminal and execute below commands to install .NET Core SDK:

    sudo apt update 
    sudo apt install dotnet-sdk-3.1 
    

    To install the previous version of .Net Core SDK 2.1, type:

    sudo apt install dotnet-sdk-2.1
    

    Step 3 – Installing .NET core Runtime Only

    .NET Core Runtime is required for the system, where you only need to run application. For example, production or stating environments are required to run applications only.

    Execute following commands to install .NET Core runtime only:

    sudo apt update 
    sudo apt install dotnet-runtime-3.1 
    

    To install the previous version of .Net core runtime 2.1, type:

    sudo apt install dotnet-runtime-2.1
    

    Conclusion

    This tutorial helped you to install .NET Core on a Debian 10 Buster Linux system.

    dotnet dotnet core
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    How to Setup DKIM (DomainKeys) with Postfix

    A Step-by-Step Guide to Installing OpenDKIM with Postfix on Ubuntu – Unleash the Power of DKIM!

    How to Install Dotnet Core on macOS

    How to Install .NET Core on macOS

    How to Install .NET Core (dotnet) on Ubuntu 22.04

    How to Install .NET Core (dotnet) on Ubuntu 22.04

    View 2 Comments

    2 Comments

    1. Caleb McKay on August 28, 2021 6:39 pm

      Thank you!! Kept getting no PUBKEY error but then your tutorial saved me!

      Reply
    2. TCHUISSI Yaovi on January 31, 2021 1:47 pm

      Thank you Rahul!

      Reply

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • How to List Manually Installed Packages in Ubuntu & Debian
    • 10 Bash Tricks Every Developer Should Know
    • How to Validate Email Address in JavaScript
    • Firewalld: Common Firewall Rules and Commands
    • 12 Apk Commands in Alpine Linux Package Management
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.