Wiki > Mono
Mono is an open source implementation of Microsoft's .NET Framework. It is used by a variety of programs listed elsewhere in the Wiki. Only one installation of Mono is required to run many programs.
Note
We have started to provide mono by default on all plans and will be keeping it updated automatically. If you have previously installed mono to your slot, you may remove it and use the provided mono binary at /usr/bin/mono.
Installation (Stable mono, recommended)
Note: 5.8 is not the latest stable version, however 5.10* brings new issues to Sonarr and Radarr. This should be left using 5.8 until a newer version than 5.10* is released.
-
Download the latest version of mono
wget https://download.mono-project.com/sources/mono/mono-5.8.0.127.tar.bz2
-
Extract the mono archive
tar xf mono-5*.tar.bz2
-
Enter the extracted directory and set up for compilation
cd ~/mono-5*/ ./autogen.sh --prefix=$HOME make get-monolite-latest
-
Complete the mono compilation and installation (this will take a while -- most likely between 15 and 30 minutes)
make && make install
-
Return to the root of your slot and clean up the archive data
cd rm mono-5*.tar.bz2
-
Add ~/bin to your PATH if it is not already
echo "PATH=\$HOME/bin:\$PATH" >> ~/.bashrc && source ~/.bashrc
-
Set a custom temporary directory in your bash configuration if it is not already
echo "TMPDIR=\$HOME/.tmp" >> ~/.bashrc && mkdir -p ~/.tmp && source ~/.bashrc
(Optional) Development version of Mono
These instructions install the latest development version of Mono. This is only needed for a specific update that has been applied to the development version of Mono that is not available in the current stable release.
-
Download the latest Git master of Mono
git clone https://github.com/mono/mono.git ~/mono
-
Enter the directory and set up for compilation
cd ~/mono ./autogen.sh --prefix=$HOME make get-monolite-latest
-
Complete the mono compilation and installation (this will take a while -- most likely between 15 and 30 minutes)
make && make install
-
Return to the root of your slot and clean up the archive data
cd rm -rf ~/mono/
-
Add ~/.mono/bin to your PATH
echo "PATH=\$HOME/bin:\$PATH" >> ~/.bashrc && source ~/.bashrc
-
Set a custom temporary directory in your bash configuration if it is not already
echo "TMPDIR=\$HOME/.tmp" >> ~/.bashrc && mkdir -p ~/.tmp && source ~/.bashrc