How-to SetUp Mono Apt Repo for Debian Linux

Adding Mono Apt Repo for Debian

The Tip Show How-to Add the Mono Apt Repository for Debian GNU/Linux.

Mono is a Microsoft sponsored and Open Source implementation of Microsoft’s .NET Framework based on the ECMA standards for C# and the Common Language Runtime.

Finally, this Guide is Valid for All the Debian Based Distros like:

  • Kali
  • Deepin
  • MX Linux
  • antiX
  • Parrot
  • Netrunner
  • Voyager Debian
  • SparkyLinux
  • MakuluLinux
  • Elive Linux
  • LMDE
  • CrunchBang
  • Parsix
Enable Apt Mono Debian - Rocket Launcher
  1. How-to Quick-Start with Command Line on Debian:

    Console Debian QuickStart Guide

    First Update the Apt Repo Sources with:

    sudo apt update

    Authenticate with the User Admin Pass.
    If Got “User is Not in Sudoers file” then see: How to Enable sudo.

  2. Installing Requirements
    Simply play:

    sudo apt install gnupg ca-certificates apt-transport-https
  3. Adding GPG Key
    Run:

    sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys \
    3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
    
  4. Enabling the Mono Stable Apt Repository

    • 10+ Debian Setup
      Use this Setup also for Testing, Sid, and Kali:

      echo "deb http://download.mono-project.com/repo/ubuntu stable-focal main" | \
      sudo tee /etc/apt/sources.list.d/mono-official.list
      
    • 9 Debian Setup

      echo "deb http://download.mono-project.com/repo/ubuntu stable-bionic main" | \
      sudo tee /etc/apt/sources.list.d/mono-official.list
      
    • 8 Debian Setup

      echo "deb http://download.mono-project.com/repo/ubuntu stable-bionic main" | \
      sudo tee /etc/apt/sources.list.d/mono-official.list
      
  5. Refreshing Apt Repositories

    sudo apt update