Wiki > Mono
Mono is an open source implementation of Microsoft's .NET Framework.
Installation (Stable mono, recommended)
-
Download the source 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