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.

  1. Download the latest version of mono

     wget http://download.mono-project.com/sources/mono/mono-5.8.0.127.tar.bz2
    
  2. Extract the mono archive

     tar xf mono-5*.tar.bz2
    
  3. Enter the extracted directory and set up for compilation

      cd ~/mono-5*/
     ./autogen.sh --prefix=$HOME
     make get-monolite-latest
    
  4. Complete the mono compilation and installation (this will take a while -- most likely between 15 and 30 minutes)

     make && make install
    
  5. Return to the root of your slot and clean up the archive data

     cd
     rm mono-5*.tar.bz2
    
  6. Add ~/bin to your PATH if it is not already

     echo "PATH=\$HOME/bin:\$PATH" >> ~/.bashrc && source ~/.bashrc
    
  7. 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.

  1. Download the latest Git master of Mono

     git clone https://github.com/mono/mono.git ~/mono
    
  2. Enter the directory and set up for compilation

      cd ~/mono
     ./autogen.sh --prefix=$HOME
     make get-monolite-latest
    
  3. Complete the mono compliation and installation (this will take a while -- most likely between 15 and 30 minutes)

     make && make install
    
  4. Return to the root of your slot and clean up the archive data

     cd
     rm -rf ~/mono/
    
  5. Add ~/.mono/bin to your PATH

     echo "PATH=\$HOME/bin:\$PATH" >> ~/.bashrc && source ~/.bashrc
    
  6. Set a custom temporary directory in your bash configuration if it is not already

     echo "TMPDIR=\$HOME/.tmp" >> ~/.bashrc && mkdir -p ~/.tmp && source ~/.bashrc