Mono

This article will show you how to install mono. Mono is an open-source implementation of Microsoft's .NET Framework and is used by software such as Sonarr and Radarr.

You'll need to execute some commands via SSH to use this software. There is a separate guide on how to connect to your slot via SSH. Commands are kept as simple as possible and in most cases will simply need to be copied and pasted into the terminal window (then executed by pressing the Enter key).

Installation

Mono requires libtool to be installed on your slot. Install it by logging in via SSH, then copying and pasting the commands below. If you've already installed libtool (for example, if you're reinstalling mono) you can skip these commands.

mkdir -p ~/bin && bash
wget -qO ~/libtool.tar.gz http://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.gz
tar xf ~/libtool.tar.gz && cd ~/libtool-2.4.6
./configure --prefix=$HOME
make && make install 
cd && rm -rf libtool{-2.4.6,.tar.gz}

Install mono by copying and pasting the following:

PATH=~/bin:$PATH
wget -qO ~/mono.tar.bz2 http://download.mono-project.com/sources/mono/mono-5.12.0.226.tar.bz2
tar xf ~/mono.tar.bz2 && cd ~/mono-*
./autogen.sh --prefix="$HOME"
make get-monolite-latest && make && make install
cd && rm -rf ~/mono{-*,.tar.bz2}

Installation notes

Mono will take a long time to compile. If you have other errands to run that would be the perfect opportunity.

If your binary directory (~/bin) is not in PATH you'll need to give the full path when trying to run the software in that directory. A better alternative is to add the bin directory to PATH.

Using mono

Mono is used together with the software that requires it. Please see the individual software pages for usage:

Uninstallation

rm ~/bin/mono*