IronPython on Mono

This page describes running and building IronPython on Mono, the open source implementation of .NET.


You can download the latest IronPython and IronRuby with:

git clone IronLanguages

The current IronPython 2.7 binaries will run and can be used in Mono 2.8 or higher.


To build IronPython 2.7 under Mono 2.8 or greater you need only need "make":

cd IronLanguages

See the Makefile for variations available.

You can add /p:BaseConfiguration="Release" or /p:BaseConfiguration="Debug" to the build line. This uses the .NET 4.0 framework.

To build IronPython 2.7 for the .NET 2.0 framework, use /p:BaseConfiguration="v2Release" or /p:BaseConfiguration="v2Debug".


It used to be that you can also build IronRuby under Mono 2.8 or greater for .NET 4.0:

xbuild Solutions/Ruby.sln /p:Configuration="Release"

or for .NET 2.0:

xbuild Solutions/Ruby.sln /p:Configuration="v2Release"

But those Ruby commands don't seem to work any more.... checking on mailing list...

Last edited Feb 5, 2014 at 5:47 PM by dsblank, version 7


evolvedmicrobe Apr 24, 2013 at 10:46 PM 
Just tried to sudo apt-get on ubuntu but received the following message:

Package ironpython is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

I take it the page is out of date?

dsblank Apr 24, 2013 at 1:05 PM 
Probably not up to date. I think the standard solution works with Mono now.

AlanSMac Jan 1, 2012 at 2:14 PM 
There is no Solutions/IronPython.Mono.sln file in the source code. Attempting Solutions/IronPython.sln on linux with Mono causes errors. Are these instructions up to date?