← Back to list

[SOLVED] yum install specific version of python package

Ted James · 2024-08-10 04:23 · 0 claps · 0.6 min read
#pyside #centos7 #yum #python-packaging
Open on Medium ↗

yum install specific version of python package

I want to yum install python-pyside, but I don’t want any old/new version of pyside, I want pyside version 1.2.1.

How can I do this?

I currently have:

yum install python-pyside

Solution

First check which versions are available in your repos

yum --showduplicates list python-pyside | expand

Then use the following to install a specific version that is listed from the command above

yum install <package name>-<version info>

Which means if v1.2.1 is available, you would need to run the command:

yum install python-pyside-1.2.1

If it’s not available then you need to enable a repo which has that version.

Answered By — rdgd

Answer Checked By — Marie Seifert (FixIt Admin)

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0


메타데이터
post_id
d8f7912c7f2c
slug
solved-yum-install-specific-version-of-python-package-d8f7912c7f2c
url
https://medium.com/@fixitblog/solved-yum-install-specific-version-of-python-package-d8f7912c7f2c
canonical_url
https://medium.com/@fixitblog/solved-yum-install-specific-version-of-python-package-d8f7912c7f2c
author_url
https://medium.com/@fixitblog
status
ok
fetched_at
2026-07-23 04:27:31