Hello
I’m just curious if it is possible (and how to do it) to have Python 2.5 and 2.6 simultaneously installed on openSUSE?
Kind regards,
Zebulon
Hello
I’m just curious if it is possible (and how to do it) to have Python 2.5 and 2.6 simultaneously installed on openSUSE?
Kind regards,
Zebulon
Yes, it’s possible. But you’ll probably have to compile python 2.5 from source.
O.k. - I got it
This is what I did:
./configure --enable-shared
make
make altinstall
doing this kept my original 2.6 version the system default.
Zebulon
Good that you’ve got it sorted and thank you for posting your solution maybe others find this helpful too
Have a lot of fun
i’d like to install python 2.5 alongside 2.6 in opensuse 11.1
i have an (opensuse) rpm of python 2.5. is it possible with rpm or any other way to install 2.5 alongside 2.6 without overwriting 2.6?
i know there is this method: http://forums.opensuse.org/1927150-post4.html
but it would be nice to achieve this without having to compile python 2.5.
No, you’d have do it from compiling the source because the 2.5 package will use mostly the same pathnames as the 2.6 and will overwrite 2.6. It’s no use trying to extract to a different directory either. Firstly RPM won’t let you do that for non-relocatable packages and secondly the pathnames will be compiled into various places in the files.