How-to Add Mono Repository for Ubuntu GNU+Linux

Add Mono Apt Ubuntu




The Tip Show How-to Add the Mono Apt Repository for Ubuntu 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.

Enable Apt Mono Ubuntu - Rocket Launcher




  1. Open a Command Line Terminal Session

  2. Enabling the Mono Apt Repository

    • 16.04, 16.10, 17.04 & 17.10 Ubuntu Setup

      sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys \
      3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
      
      echo "deb http://download.mono-project.com/repo/ubuntu xenial main" | \
      sudo tee /etc/apt/sources.list.d/mono-official.list
      
    • 14.04, 14.10, 15.04 & 15.10 Ubuntu Setup

      sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys \
      3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
      
      echo "deb http://download.mono-project.com/repo/ubuntu trusty main" | \
      sudo tee /etc/apt/sources.list.d/mono-official.list
      
    • 12.04, 12.10, 13.04 & 13.10 Ubuntu Setup

      sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys \
      3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
      
      echo "deb http://download.mono-project.com/repo/ubuntu precise main" | \
      sudo tee /etc/apt/sources.list.d/mono-official.list
      



  3. Refreshing Apt Repositories

    sudo apt update