Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Just out of curiosity I executed following command and I was surprised to see MS Windows executables in the Python installation directory.

    20:36:46 nixlap [~] $ locate -i -r exe$

Why do we need these .exe on Ubuntu installation? Particularly talking about the exes in Python package.

I just don't like the files ending in .exe.

I can understand that banshee, tomboy, gbrainy use 'mono' but why can't they just name it something other than .exe.

share|improve this question
Probably cause it saves them time and energy when porting the app to other platforms(in this case MS). – Nitin Venkatesh Dec 23 '11 at 14:44
up vote 7 down vote accepted

According to dpkg and the packages website these are part of the python2.7-dev package. This is not installed by default.

I believe they include the Windows installers to allow people to create portable self-contained projects more easily (without having to hunt down the current version installer) but I could be wrong.

If you want to know for sure (or suggest these files get removed) you can find several contact methods on the package information page.

Edit: and the Mono .exes are just Mono executables. They're distributed in exe form.

share|improve this answer
Yep. In particular, they are used by the distutils python bdist_wininst command to build a self extracting installer for Windows machines (which you can do from Ubuntu for architecture independent packages). – James Henstridge Dec 23 '11 at 15:11
@JamesHenstridge Thanks for the explanation. So they are needed indeed. – Muneeb Dec 23 '11 at 16:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.