How to Add .NET Repository for Ubuntu-Based Systems

June 15, 2020 | By the+gnu+linux+evangelist.

GNU/Linux Ubuntu Adding .NET Repo Guide

Hi! The Tutorial shows you Step-by-Step How to Add .NET Repository in Ubuntu-Based GNU/Linux OSes.

And .NET Core for Ubuntu is a Free, Cross-Platform, Open Source Developer Platform for building many different types of Applications.

Moreover, with .NET SDK you can use multiple Languages, Editors, and Libraries to build for Web, Mobile, Desktop, Games, and IoT.

Finally, this Repo Setup should be Valid for All the Ubuntu-based Distros like:

  • Linux Mint
  • Lubuntu
  • Kubuntu
  • Xubuntu
  • Zorin OS
  • Elementary OS
  • Linux Lite
  • Bodhi Linux
  • Kde Neon
  • Pop!_OS
  • Voyager
  • Trisquel
  • LXLE
  • feren OS
  • Peppermint
  • Q4OS
  • Linux Ultimate Edition

Especially relevant: prior to Installation check the Supported Ubuntu Releases on .NET Documentation.

How to Add .NET Repository for Ubuntu-based Systems - Featured
  1. 1. Launching Terminal

    Open a Terminal Shell Emulator Window:
    Ctrl+Alt+t on Desktop
    (Press “Enter” to Execute Commands).

    Open Terminal
    In case first see: Terminal QuickStart Guide.
  2. 2. Downloading .NET Repo

    Download .NET Repository for Ubuntu GNU/Linux

    .NET Repository .deb Package
    Navigate to the Corresponding GNU/Linux Ubuntu Relase.
    And Grab the packages-microsoft-prod.deb Archive.
    At this time only the 16.04+ LTS Releases and the Latest one are Supported.
    Again for Mint 18.x grab the Ubuntu 16.04 Package, for Mint 19.x the Ubuntu 18.04, and for Mint 20.x get Ubuntu 20.04.
    Last, as a reference point the Ubuntu 18.04 Repo is valid also for: Elementary OS 5.x, Zorin OS 15.x, Bodhi Linux 5.x, Linux Lite 4.x, and all the others derivatives.
  3. 3. Adding .NET Repo

    Then to Add .NET Repository for Ubuntu
    Execute:

    sudo dpkg -i ~/Downloads/packages-microsoft-prod.deb
    But if you are in Trouble to Find the Location on Terminal then See: How to Access Downloads Folder from Browser.
    If Got “User is Not in Sudoers file” then see: How to Enable sudo.
    This Package includes the GPG Signing Key.
    Especially relevant: the legacy Non LTS Releases are Not Supported.
  4. 4. Refreshing Ubuntu Repo Sources

    Next to Refresh Ubuntu Apt Repository Sources
    Play:

    sudo apt update
    Authenticate with the User Admin Pass.
    If Got “User is Not in Sudoers file” then see: How to Enable sudo.
  5. 5. Installing .NET Core on Ubuntu

    Finally, to Install .NET Core SDK/Runtime for Ubuntu

    .NET Core Ubuntu Installation Guide

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress