PySide Binaries Linux: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Rename category "LanguageBindings::PySide" -> "PySide")
(update fedora installation guide)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:


[[Category:PySide]]
[[Category:PySide]]
[[Category:LanguageBindings::PySide::Downloads]]
[[Category:PySide]]


'''English''' [http://qt-devnet.developpez.com/tutoriels/python/pyside/installer/?page=linux#V French]
'''English''' [http://qt-devnet.developpez.com/tutoriels/python/pyside/installer/?page=linux#V French]
Line 8: Line 8:
If your distributions is not listed here, check out [[Building_PySide_on_Linux|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.
If your distributions is not listed here, check out [[Building_PySide_on_Linux|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 ==
==Ubuntu/Debian==


''Maintainer: Didier Raboud (OdyX)''
''Maintainer: Didier Raboud (OdyX)''


This is the easiest way to get PySide installed on your Ubuntu system.
Pyside is in the official Ubuntu and Debian repos. Each module is a separate package. Be aware that any dependencies will be installed too. For example, PySide2.QtGui package is installed by:
 
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
 
<code>
sudo apt-get install python3-pyside
</code>
 
For older releases, you need the ppa:
 
<code>
sudo add-apt-repository ppa:pyside
sudo apt-get update
</code>
 
To install all the modules:
 
<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.


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


If you want to use PySide with Python3.x, replace ''python-pyside'' by ''python3-pyside''
==Fedora==


So to install all the PySide modules :
PySide is in the official Fedora [https://src.fedoraproject.org/rpms/python-pyside2/ package repositories]. Use the following command to install PySide:


<code>
<code>
sudo apt-get install python3-pyside
sudo dnf install python3-pyside2
</code>
</code>
.
== 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):
The PySide6 is currently not packaged and must be installed in other way:


<code>
<code>
apt-get install python-pyside
pip install pyside6
</code>
</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.
<br />
 
== Fedora ==
 
Starting with Fedora 13, PySide is in the official Fedora package repositories. Use the following command to install PySide:
 
<code>
yum install python-pyside pyside-tools
</code>
.


== openSUSE ==
==openSUSE==


''Maintainer: Carlos Goncalves (cgoncalves)''
''Maintainer: Carlos Goncalves (cgoncalves)''
Line 92: Line 55:
.
.


== ArchLinux ==
==ArchLinux==


=== Stable builds ===
===Stable builds===


''Maintainer: Hugo Osvaldo Barrera (hobarrera)''
''Maintainer: Hugo Osvaldo Barrera (hobarrera)''
Line 100: Line 63:
The latest stable version of PySide is packaged in the Arch User Repositories (AUR), as ''python2-pyside'' and ''python2-pyside-tools''.
The latest stable version of PySide is packaged in the Arch User Repositories (AUR), as ''python2-pyside'' and ''python2-pyside-tools''.


=== Git builds ===
===Git builds===


''Maintainer: Douglas Andrade (dsa)''
''Maintainer: Douglas Andrade (dsa)''
Line 118: Line 81:
.
.


== Mandriva ==
==Mandriva==


''Maintainer: Carlos Goncalves (cgoncalves)''
''Maintainer: Carlos Goncalves (cgoncalves)''

Latest revision as of 16:38, 9 April 2023


English French


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/Debian

Maintainer: Didier Raboud (OdyX)

Pyside is in the official Ubuntu and Debian repos. Each module is a separate package. Be aware that any dependencies will be installed too. For example, PySide2.QtGui package is installed by:

sudo apt install python3-pyside2.qtgui

Fedora

PySide is in the official Fedora package repositories. Use the following command to install PySide:

sudo dnf install python3-pyside2

The PySide6 is currently not packaged and must be installed in other way:

pip install pyside6


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/