Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I'd like to be able to

import rpm

in my python script in Windows, where do I find the install packages for python rpm module?

share|improve this question
up vote 2 down vote accepted

RPMs are RedHat Package Manager packages. They typically contain binaries that have been compiled specifically for an RPM-based Linux distribution such as RedHat, CentOS, Fedora, etc.

More information on RPM at

More information on RPM 5 at

The typical RPM package (python-rpm) is painful to install in Windows. (You'd need to install RPM itself as well in Windows, which may require porting it.) There is a pure Python implementation of an RPM module called PyRPM available at

share|improve this answer
I use cygwin RPM, but maybe PyRPM is enough for me for now. Thanks! – Joyce Dec 22 '10 at 16:02

Do you want to install python on Windows ?

If yes, you need to install python through msi installer on windows ...

You can't install an RPM pacjage on windows :)

share|improve this answer

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.