From: lucionet on
Hi all

I've installed Suse 11.2 and installing "python", the system has
installed the version 2.6.
Is possible install a previous version? for example, 2.5?

Thank you.
From: Eef Hartman on
lucionet <vlauciani(a)gmail.com> wrote:
> I've installed Suse 11.2 and installing "python", the system has
> installed the version 2.6.
> Is possible install a previous version? for example, 2.5?

> I've installed Suse 11.2 and installing "python", the system has
> installed the version 2.6.
> Is possible install a previous version? for example, 2.5?

Normally the command is:
zypper install python=2.5 <=== NOTE: you must give the right version,
so do a search first:
zypper search python (will give a lot of output, you may want
to pipe it through less or so)

In this (11.1) system:
$ zypper search --details python # I used --details to get the version numbers too
returns (among others):
i | python | package | 2.6.0-2.21.1 | i586 | openSUSE-11.1-Update
v | python | package | 2.6.0-2.16 | i586 | openSUSE-11.1-Oss

which means the original (OSS repo) version was 2.6.0-2.16 and through
updates it now has been upgraded to 2.6.0-2.21.1, but those two are the
ONLY ones available in the standard openSUSE repo's (for 11.1).
To get 2.5 you either:
1) have to add a repo that still has 2.5 available for YOUR openSUSE
version or
2) compile it from source (and either de-install 2.6, which may break
a lot of packages, or make sure it will be installed in a different
path from the 2.6 version).

As you were talking about 11.2; no, 2.5 won't be in the standard
repo's for your version either.
--
*******************************************************************
** Eef Hartman, Delft University of Technology, dept. SSC/ICT **
** e-mail: E.J.M.Hartman(a)tudelft.nl - phone: +31-15-278 82525 **
*******************************************************************