Depending on your needs, PySide is available either as source code or as binary packages for various platforms.
Binaries
Binaries are available for various platforms as listed below.
Linux
Ubuntu – Karmic (9.10) and Lucid (10.04)
This is the easiest way to get PySide installed on your Ubuntu system.
We have a PPA repository available for Ubuntu 9.10 Karmic and 10.04 Lucid. The following instructions install PySide in your system.
To install PySide itself, add PySide ppa at your apt source list, using this command, and update the package list.
sudo add-apt-repository ppa:pyside sudo apt-get update
To install all the modules:
sudo apt-get install pyside-qt4
If you need just one module (e.g. PySide.QtGui) run a line like below. Be aware that any dependencies will be installed too.
sudo apt-get install pyside-qt4-gui
Maemo 5 (Fremantle)
Warning: Some PySide packages are not available for Maemo because their C++ counterparts were not provided in official packages. The “not provided” packages are: QtHelp, QtScriptTools and QUiTools.
To install the Maemo packages on N900, just add the following line to the /etc/apt/sources.list file (either directly or by adding a new catalogue using the Application Manager):
deb http://repository.maemo.org/extras-devel/ fremantle free non-free
After that run:
apt-get update apt-get install pyside-qt4
Other distributions
PySide has already been packaged for several Linux distributions. The links below are provided on a best-effort basis and may somewhat lag the “official” source code, Ubuntu, and Maemo releases. If you would like your packages to be listed below, drop an email at pyside@openbossa.org.
Debian (unstable)
Maintainer:
Didier Raboud (OdyX)
To install PySide on Debian unstable perform the following commands as root (assuming you already have the unstable repository added to /etc/apt/sources.list):
# apt-get install python-pyside
Alternatively, you can install PySide module packages individually, e.g. “python-pyside.qtgui”. For the full list of packages, see http://packages.debian.org/search?keywords=pyside.
openSUSE
Maintainer:
Carlos Goncalves (cgoncalves)
To install PySide on openSUSE 11.2 perform the following commands as root:
# zypper ar http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/ \ shiboken/openSUSE_11.2/ pyside # zypper refresh pyside # zypper install python-pyside
There are also packages for openSUSE 11.1 and openSUSE Factory available.
Git clone:
http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/devel/
ArchLinux
Maintainer:
Douglas Andrade (dsa)
To install PySide binaries from git repositories (not the latest oficial release), add the following to your /etc/pacman.conf file:
[pyside] Server = http://dev.archlinux.org/~douglas/repo/x86_64/pyside
To install it, just run the following command:
sudo pacman -S pyside-git pyside-tools-git
Fedora
Maintainer:
Carlos Goncalves (cgoncalves)
To install PySide on Fedora 12 perform the following commands:
# wget -P /etc/yum.repos.d http://download.opensuse.org/repositories/home:/ \ cgoncalves:/pyside:/shiboken/Fedora_12/home:cgoncalves:pyside:shiboken.repo # yum check-update # yum install python-pyside
Git clone:
http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/devel/
Mandriva
Maintainer:
Carlos Goncalves (cgoncalves)
To install PySide on Mandriva 2010 perform the following commands:
# urpmi.addmedia pyside:devel http://download.opensuse.org/repositories/home:/ \ cgoncalves:/pyside:/shiboken/Mandriva_2010/home:cgoncalves:pyside:shiboken.repo # urpmi.update -a # urpmi python-pyside
Git clone:
http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/devel/
Microsoft Windows
Unfortunately, PySide has not quite yet been ported to Windows. Stay tuned!
Mac OS X
Unofficial Package: PySide-qt4.5+0.2.2.zip
Source code
Here you can get source files for all project components:
- apiextractor-0.6.0.tar.bz2
- generatorrunner-0.5.0.tar.bz2
- shiboken-0.3.2.tar.bz2
- pyside-tools-0.1.3.tar.bz2
- pyside-qt4.6+0.3.2.tar.bz2
Instructions on how to build can be found here.
Note that generatorrunner replaces the old boostpythongenerator tarball.
Git version control repository
The bleeding edge version. Files are updated constantly as developers commit new changes. PySide Git repositories are hosted at qt.gitorius.org.




