# How to install Mono on Debian 10?

{% embed url="<https://youtu.be/MjcYtxXsMI0>" %}

### Overview <a href="#howtoinstallmonoondebian10-introduction" id="howtoinstallmonoondebian10-introduction"></a>

Mono is a platform for creating and running cross-platform applications. The Microsoft.NET framework is implemented using free and open-source software.

This tutorial will explain you how to set up Mono under Debian 10.

### **Prerequisites** <a href="#howtoinstallmonoondebian10-prerequisites" id="howtoinstallmonoondebian10-prerequisites"></a>

There are certain prerequisites that need to be met before you begin.&#x20;

* A machine running Debian 10
* A root user having Sudo privileges
* Internet connection

### **Get Started** <a href="#howtoinstallmonoondebian10-step1-installingthepackage" id="howtoinstallmonoondebian10-step1-installingthepackage"></a>

#### **Step 1: Installing the package** <a href="#howtoinstallmonoondebian10-step1-installingthepackage" id="howtoinstallmonoondebian10-step1-installingthepackage"></a>

In the regular Debian repository, Mono is not present. We'll use the official Mono repository to install the Mono packages. It is a simple procedure that won't take more than a few minutes.

* Always be sure to update your system before downloading the latest packages. Run the following command to do it:

```
sudo apt update
```

![](https://customer.acecloudhosting.com/index.php?rp=/images/kb/1590_3.-Mono.png)

* After the system has been updated and upgraded, you must install a few crucial packages using the following command:

```
sudo apt install dirmngr gnupg apt-transport-https ca-certificates
```

#### **Step 2: Import GPG Repository Key** <a href="#howtoinstallmonoondebian10-step2-importgpgrepositorykey" id="howtoinstallmonoondebian10-step2-importgpgrepositorykey"></a>

To import the repository's GPG key, execute the following command:

```
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
```

<figure><img src="https://customer.acecloudhosting.com/index.php?rp=/images/kb/1591_1.-Mono.png" alt=""><figcaption></figcaption></figure>

#### **Step 3: Addition of Mono Repository** <a href="#howtoinstallmonoondebian10-step3-additionofmonorepository" id="howtoinstallmonoondebian10-step3-additionofmonorepository"></a>

Add the Mono repository to your system sources’ list using the following command:

```
sudo sh -c 'echo "deb https://download.mono-project.com/repo/debian stable-buster main" > /etc/apt/sources.list.d/mono-official-stable.list'
```

#### **Step 4: Installation of Mono** <a href="#howtoinstallmonoondebian10-step4-installationofmono" id="howtoinstallmonoondebian10-step4-installationofmono"></a>

Update the packages list and install Mono when the apt repository has been enabled.

```
sudo apt install mono-complete
```

he meta-package known as mono-complete installs the runtime, development tools, and all libraries necessary for Mono development.

#### **Step 5: Verification of Mono Version** <a href="#howtoinstallmonoondebian10-step5-verificationofmonoversion" id="howtoinstallmonoondebian10-step5-verificationofmonoversion"></a>

Check the Mono version installation by printing:

```
mono --version
```

![](https://customer.acecloudhosting.com/index.php?rp=/images/kb/1592_2.-Mono.png)

The most recent stable version of Mono is 6.8.0 Stable (6.8.0.105) as of the time this article was being written.

### **Conclusion** <a href="#howtoinstallmonoondebian10-conclusion" id="howtoinstallmonoondebian10-conclusion"></a>

In this tutorial, we learnt about Mono and how to install it. Developers may create tools and apps with the aid of Mono. For your benefit and to ensure a properly installed product, we have thoroughly explained each step.
