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

You should first install cmake before carrying on with this guide.

Mono also 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.4.0.167.tar.bz2
tar xf ~/mono.tar.bz2 && cd ~/mono-5.4.0.167
./autogen.sh --prefix="$HOME"
make get-monolite-latest && make && make install
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 to any program you wish to run using mono. A better alternative is to simply add ~/bin to PATH with the following commands:

echo "PATH=~/bin:$PATH" > ~/.bashrc
source ~/.bashrc

Using mono

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

Uninstallation

rm ~/bin/mono*