In Ubuntu/Linux Mint you can install softwares from Software Centers or via PPA/Synaptic . If any software is not available in deb/software center/ppa and it’s only available in rpm, than you can convert that rpm file to deb package with one command using terminal.
In this post i will show you how to set up Python scripting for Apache. Note that I assume that you have already set up and configured the standard LAMP server stack. If you haven’t, refer to any of the following links, depending on your distribution. (Open Suse,Mandriva,Arch Linux, Debian,Sientific Linux)