Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

PySide Binaries Linux: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[toc align_right=&quot;yes&amp;quot; depth=&quot;2&amp;quot;]<br />[[Category:LanguageBindings::PySide]]<br />[[Category:LanguageBindings::PySide::Downloads]]
[toc align_right="yes" depth="2"]
[[Category:LanguageBindings::PySide]]
[[Category:LanguageBindings::PySide::Downloads]]


'''English''' &quot;French&amp;quot;:http://qt-devnet.developpez.com/tutoriels/python/pyside/installer/?page=linux#V
'''English''' "French":http://qt-devnet.developpez.com/tutoriels/python/pyside/installer/?page=linux#V


= PySide Binaries for Linux =
= PySide Binaries for Linux =
Line 17: Line 19:
Pyside is in the official Ubuntu repos for precise (12.04) onward. No ppa adding needed, just run
Pyside is in the official Ubuntu repos for precise (12.04) onward. No ppa adding needed, just run


<code><br />sudo apt-get install python3-pyside<br /></code>
<code>
sudo apt-get install python3-pyside
</code>


For older releases, you need the ppa:
For older releases, you need the ppa:


<code><br />sudo add-apt-repository ppa:pyside<br />sudo apt-get update<br /></code>
<code>
sudo add-apt-repository ppa:pyside
sudo apt-get update
</code>


To install all the modules:
To install all the modules:


<code><br />sudo apt-get install python-pyside<br /></code>
<code>
sudo apt-get install python-pyside
</code>


If you need just one module (e.g. PySide.QtGui) run a line like below. Be aware that any dependencies will be installed too.
If you need just one module (e.g. PySide.QtGui) run a line like below. Be aware that any dependencies will be installed too.


<code><br />sudo apt-get install python-pyside.qtgui<br /></code>
<code>
sudo apt-get install python-pyside.qtgui
</code>


If you want to use PySide with Python3.x, replace<br /><code> python-pyside <code><br /> by<br /></code> python3-pyside </code>
If you want to use PySide with Python3.x, replace
<code> python-pyside <code>
by
</code> python3-pyside </code>


So to install all the PySide modules :
So to install all the PySide modules :


<code><br />sudo apt-get install python3-pyside<br /></code><br />.
<code>
sudo apt-get install python3-pyside
</code>
.


== Debian ==
== Debian ==
Line 43: Line 60:
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):
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):


<code><br />apt-get install python-pyside<br /></code>
<code>
apt-get install python-pyside
</code>


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.
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.
Line 51: Line 70:
Starting with Fedora 13, PySide is in the official Fedora package repositories. Use the following command to install PySide:
Starting with Fedora 13, PySide is in the official Fedora package repositories. Use the following command to install PySide:


<code><br />yum install python-pyside pyside-tools<br /></code><br />.
<code>
yum install python-pyside pyside-tools
</code>
.


== openSUSE ==
== openSUSE ==
Line 59: Line 81:
To install PySide on openSUSE 11.2 perform the following commands as root:
To install PySide on openSUSE 11.2 perform the following commands as root:


<code><br />zypper ar http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/ shiboken/openSUSE_11.2/ pyside<br />zypper refresh pyside<br />zypper install python-pyside<br /></code>
<code>
zypper ar http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/ shiboken/openSUSE_11.2/ pyside
zypper refresh pyside
zypper install python-pyside
</code>


There are also packages for openSUSE 11.1 and openSUSE Factory available.
There are also packages for openSUSE 11.1 and openSUSE Factory available.
Line 65: Line 91:
Git clone:
Git clone:


<code><br />http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/devel/<br /></code><br />.
<code>
http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/devel/
</code>
.


== ArchLinux ==
== ArchLinux ==
Line 81: Line 110:
To install PySide binaries from git repositories (not the latest oficial release), add the following to your /etc/pacman.conf file:
To install PySide binaries from git repositories (not the latest oficial release), add the following to your /etc/pacman.conf file:


<code><br />[pyside]<br />Server = http://dev.archlinux.org/~douglas/repo/x86_64/pyside<br /></code>
<code>
[pyside]
Server = http://dev.archlinux.org/~douglas/repo/x86_64/pyside
</code>


To install it, just run the following command:
To install it, just run the following command:


<code><br />sudo pacman -S pyside-git pyside-tools-git<br /></code><br />.
<code>
sudo pacman -S pyside-git pyside-tools-git
</code>
.


== Mandriva ==
== Mandriva ==
Line 93: Line 128:
To install PySide on Mandriva 2010 perform the following commands:
To install PySide on Mandriva 2010 perform the following commands:


<code><br />urpmi.addmedia pyside:devel http://download.opensuse.org/repositories/home:/ cgoncalves:/pyside:/shiboken/Mandriva_2010/home:cgoncalves:pyside:shiboken.repo<br />urpmi.update -a<br />urpmi python-pyside<br /></code>
<code>
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
</code>


Git clone:
Git clone:


<code><br />http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/devel/
<code>
http://download.opensuse.org/repositories/home:/cgoncalves:/pyside:/devel/

Revision as of 08:38, 25 February 2015

[toc align_right="yes" depth="2"]

English "French":http://qt-devnet.developpez.com/tutoriels/python/pyside/installer/?page=linux#V

PySide Binaries for Linux

If your distributions is not listed here, check out Building PySide on Linux for how to build PySide yourself from source. You might also want to build from source if the packages in your distribution are outdated.

Ubuntu

Maintainer: Didier Raboud (OdyX)

This is the easiest way to get PySide installed on your Ubuntu system.

Didier, together with the PySide core dev team, maintains a PPA repository for Ubuntu. Currently, up-to-date packages are available for versions from 10.04 (Lucid) up to 11.10 (Oneiric). Python 3 experimental support is available for 11.04 (Natty) and 11.10 (Oneiric). Follow the instructions below to install PySide in your system in order to use it with Python 2.x .

Pyside is in the official Ubuntu repos for precise (12.04) onward. No ppa adding needed, just run

sudo apt-get install python3-pyside

For older releases, you need the ppa:

sudo add-apt-repository ppa:pyside
sudo apt-get update

To install all the modules:

sudo apt-get install python-pyside

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 python-pyside.qtgui

If you want to use PySide with Python3.x, replace

 python-pyside <code>
 by

python3-pyside

So to install all the PySide modules :

sudo apt-get install python3-pyside

.

Debian

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.

Fedora

Starting with Fedora 13, PySide is in the official Fedora package repositories. Use the following command to install PySide:

yum install python-pyside pyside-tools

.

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

Stable builds

Maintainer: Hugo Osvaldo Barrera (hobarrera)

The latest stable version of PySide is packaged in the Arch User Repositories (AUR), as python2-pyside and python2-pyside-tools.

Git builds

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

.

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/