I'M running Ubuntu 9.10. On the website above, what which download should I use? I don't see a debian so I'M assuming I need to get the bin. If that's the case, I have no idea how to install a bin. Thanks for any and all replies.

Wait, it's not for Linux, is it?

Dani AI

Generated

— the CodePlex package you saw is a Windows build, which explains the missing Debian package. was correct that IronPython lives on the .NET side; that usually means Windows by default, but Linux can run IronPython in practice by providing a compatible .NET runtime (Mono for older IronPython 2.x binaries, or the cross‑platform .NET SDK for IronPython 3).

To try a Windows IronPython binary on Ubuntu, install Mono and run the .exe under it. Typical commands (modern Ubuntu) are:

sudo apt update
sudo apt install mono-complete

# extract the downloaded IronPython archive, then:
mono ipy.exe

If a download is a Linux self-extracting installer (.bin), make it executable and run it:

chmod +x installer.bin
./installer.bin

For current cross‑platform work, the IronPython 3 source is on GitHub and is built with the .NET SDK rather than the old CodePlex Windows binaries. Follow the repo README and the Microsoft .NET install instructions before attempting a build:

Practical caveats: IronPython 2.x implements Python 2 semantics; IronPython 3 targets Python 3. Many CPython C‑extension modules will not work under IronPython, so projects depending on native extensions (NumPy, SciPy, some binary wheels) should stay with CPython. If the original intent was simply a Python IDE rather than .NET interop (as suggested), modern cross‑platform editors like Visual Studio Code or PyCharm Community Edition are easier routes on Ubuntu than trying to shoehorn a Windows .exe into the system. For runtime issues, first ensure a full Mono install (or correct .NET SDK), then run the binary under the appropriate runtime and check loader errors for missing assemblies.

Recommended Answers

All 2 Replies

Well, the website indicates that:

"IronPython is an implementation of the Python programming language running under .NET and Silverlight."

So it's safe to say that it's not for Linux. Ubuntu installs Python by default so you'll already have it installed on your computer.

I think the reason the OP wanted to install IronPython was probably to have an IDE for python.
Obviously, as already stated IronPython is only for windows, so that is out of the question.

However there are several other python IDE's available. Idle and SPE (Stani's Python Editor) immediately spring to mind. I can't think of any others offhand but take a look in the software centre and you should see a few other python IDE's, if memory serves.

Most of the time I just use gEdit for writing my py scripts, as it has python syntax highlighting built in, but whenever I need an IDE (usually when debugging errant scripts), I tend to use Idle...Works for me, never had any problems with it.

Cheers for now,
Jas.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.