In comparison to Windows and Mac OS X, installing PyQt on Linux is trivially easily. It is likely that all of the software necessary for Python development is likely available in your favorite distribution repository. If you are using the most recent version of Ubuntu 9.04 (and who isn’t), then, all you need to do is open up your terminal and type:
sudo apt-get install python-qt4 qt4-dev-tools python-qt4-dev build-essential pyqt4-dev-tools
The package manager (apt-get) will take care of downloading and installing any dependencies. Once the installation routine finishes, you will have a fully working installation of Qt 4.5 and PyQt 4.5 without any compilation, configuration, or other miscellaneous headaches. The qt4-dev-tools, pyqt4-dev-tools and python-qt4-dev packages install important tools used for creating user-interfaces. The build-essential package installs the GNU compilers and autoconf tool chain. If you will only be running PyQt programs, these additional packages are unnecessary.