Facebook Twitter Instagram
    TecAdmin
    • Home
    • Ubuntu 20.04
      • Upgrade Ubuntu
      • Install Java
      • Install Node.js
      • Install Docker
      • Install LAMP Stack
    • Tutorials
      • AWS
      • Shell Scripting
      • Docker
      • Git
      • MongoDB
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    Home»Linux Distributions»Debian»How to Install .NET Core on Debian 10

    How to Install .NET Core on Debian 10

    RahulBy 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.

    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
    Previous ArticleHow To Install NVM on Debian 9
    Next Article (Solved) apt-add-repository command not found – Ubuntu & Debian

    Related Posts

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

    Updated:May 25, 20224 Mins Read

    How to Create a Sudo User in Debian

    Updated:June 26, 20212 Mins Read

    How To Install XRDP (Remote Desktop) on Debian 10

    4 Mins Read

    Initial Server Setup with Debian 10/9/8

    Updated:June 25, 20214 Mins Read

    How To Install and Configure VNC Server on Debian 10

    Updated:June 26, 20215 Mins Read

    How to Install TeamViewer on Debian 10

    3 Mins Read

    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

    Recent Posts
    • How To Install Docker on Ubuntu 22.04
    • How to Install Bower on Ubuntu 22.04 & 20.04
    • How to run “npm start” through Docker
    • Filesystem Hierarchy Structure (FHS) in Linux
    • How to accept user input in Python
    Facebook Twitter Instagram Pinterest
    © 2022 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

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