Skip to content

Instantly share code, notes, and snippets.

@mfdeveloper
Last active November 5, 2015 13:49
Show Gist options
  • Save mfdeveloper/3bf07b3e388b2b5db789 to your computer and use it in GitHub Desktop.
Save mfdeveloper/3bf07b3e388b2b5db789 to your computer and use it in GitHub Desktop.
Monodevelop latest version installation guide and template files on Debian/Ubuntu

MonoDevelop 5.x - Installation Guide

Author: Michel Felipe

  1. Download and install latest mono runtime. Follow the instructions here: Install mono on Debian, Ubuntu, and derivatives

  2. Clone the latest version from MonoDevelop github repo.

git clone git@github.com:mono/monodevelop.git
  1. Download and update all git submodules
cd monodevelop #cloned repo dir
git submodule update --init --recursive
  1. Install all dependencies
apt-get install libglib2.0-cil libglib2.0-cil-dev gtk-sharp2 gtk-sharp-4.0 gnome-sharp2 gnome-sharp-4.0 libssh2-1 libssh2-1-dev libssh2-1-dbg
  1. From the monodevelop/main/external/nuget-binary dir, copy files Microsoft.Web.XmlTransform.dll and NuGet.Core.dll into /usr/bin or another directory defined in $PATH system variable;

  2. Create a symbolic link into /usr/bin, relative to copied files described in section 5.

sudo ln -s monodevelop/main/external/nuget-binary/NuGet.exe nuget
  1. Compile with the command below:
sudo ./configure ; make

Obs: You can set custom params --prefix and --profile. See the Compiling MonoDevelop section

  1. Install monodevelop in your system
sudo make install
  1. If you use Ubuntu, create a launcher .desktop file to run monodevelop.
[Desktop Entry]
Version=1.0
Name=Monodevelop
Comment=MonoDevelop is a cross platform IDE mostly aimed at Mono/.NET developers
Exec=monodevelop
Icon=/monodevelop/main/theme-icons/GNOME/monodevelop-48.png
Terminal=false
Type=Application
Categories=Utility;Application;

Obs: Change the Icon param value to your monodevelop cloned repo.

#If you use Ubuntu, copy this file to /usr/share/applications or at ~/.local/share/applications
[Desktop Entry]
Version=1.0
Name=Monodevelop
Comment=MonoDevelop is a cross platform IDE mostly aimed at Mono/.NET developers
Exec=monodevelop
Icon=/monodevelop/main/theme-icons/GNOME/monodevelop-48.png
Terminal=false
Type=Application
Categories=Utility;Application;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment