LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   install python 2.3 ,necssary to remove python 2.2 (https://www.linuxquestions.org/questions/linux-newbie-8/install-python-2-3-necssary-to-remove-python-2-2-a-125151/)

ngan_yine 12-12-2003 03:34 AM

install python 2.3 ,necssary to remove python 2.2
 
HI!
I just download and install python 2.3 with tar version and install it sucessfully and now I have two python version in my computer .Python 2.2 came with pre-install with mandrake 9.1 and it can be remove by rpm -e command .I want to know was it necassary to remove to remove the python 2.2 or can I just leave it like this.Will the two version of Python will cause conflict with each other? And the last question ,how can I remove program which install from tar file?

thanks!

Baldrick65 12-12-2003 04:35 AM

I'm not sure if Python 2.2 & 2.3 can reside together without causing some probs. To uninstall a tar.gz version you would run from the directory that you decompressed it:
Code:

make uninstall
HTH
Baldrick

davholla 12-12-2003 08:50 AM

I didn't remove 2.2 and there were no problems.

ngan_yine 12-12-2003 03:33 PM

thanks"
 
Thanks for the reply ,I decided to both version of python ,I am not having any problem right now.!
thanks!

vincebs 12-27-2003 02:59 AM

OK, the problem that I have is that I have the python-2.3 package in rpm format. When I try to upgrade it using rpm -Uvh, I get these error/failed dependency messages:

error: Failed dependencies:
libdb-4.2.so is needed by python-2.3.3-1
/usr/bin/python2.2 is needed by (installed) rhpl-0.93-1
/usr/bin/python2.2 is needed by (installed) redhat-config-mouse-1.0.5-1
/usr/bin/python2.2 is needed by (installed) redhat-config-network-tui-1.2.0-2
/usr/bin/python2.2 is needed by (installed) redhat-config-securitylevel-1.1.1-3
/usr/bin/python2.2 is needed by (installed) authconfig-gtk-4.3.4-1
/usr/bin/python2.2 is needed by (installed) comps-extras-8.0.94-1
/usr/bin/python2.2 is needed by (installed) redhat-config-date-1.5.9-8
/usr/bin/python2.2 is needed by (installed) redhat-config-keyboard-1.0.3-4
/usr/bin/python2.2 is needed by (installed) redhat-config-kickstart-2.3.6-4
/usr/bin/python2.2 is needed by (installed) redhat-config-language-1.0.4-1
/usr/bin/python2.2 is needed by (installed) redhat-config-rootpassword-1.0.2-4
/usr/bin/python2.2 is needed by (installed) redhat-config-users-1.1.5-7
/usr/bin/python2.2 is needed by (installed) redhat-config-soundcard-1.0.4-2
/usr/bin/python2.2 is needed by (installed) firstboot-1.0.5-11
/usr/bin/python2.2 is needed by (installed) redhat-config-xfree86-0.7.3-2
/usr/bin/python2.2 is needed by (installed) rhpl-0.93.4-1
/usr/bin/python2.2 is needed by (installed) redhat-config-network-tui-1.2.15-1
/usr/bin/python2.2 is needed by (installed) redhat-config-date-1.5.15-1

Any ideas?

Or should I go get the python source tarball instead?

davholla 12-27-2003 09:14 AM

I don't think you need to worry about :-
'/usr/bin/python2.2 is needed by (installed) rhpl-0.93-1
/usr/bin/python2.2 is needed by (installed) redhat-config-mouse-1.0.5-1
/usr/bin/python2.2 is needed by (installed) redhat-config-network-tui-1.2.0-2
/usr/bin/python2.2 is needed by (installed) redhat-config-securitylevel-1.1.1-3
/usr/bin/python2.2 is needed by (installed) authconfig-gtk-4.3.4-1
/usr/bin/python2.2 is needed by (installed) comps-extras-8.0.94-1
/usr/bin/python2.2 is needed by (installed) redhat-config-date-1.5.9-8
/usr/bin/python2.2 is needed by (installed) redhat-config-keyboard-1.0.3-4
/usr/bin/python2.2 is needed by (installed) redhat-config-kickstart-2.3.6-4
/usr/bin/python2.2 is needed by (installed) redhat-config-language-1.0.4-1
/usr/bin/python2.2 is needed by (installed) redhat-config-rootpassword-1.0.2-4
/usr/bin/python2.2 is needed by (installed) redhat-config-users-1.1.5-7
/usr/bin/python2.2 is needed by (installed) redhat-config-soundcard-1.0.4-2
/usr/bin/python2.2 is needed by (installed) firstboot-1.0.5-11
/usr/bin/python2.2 is needed by (installed) redhat-config-xfree86-0.7.3-2
/usr/bin/python2.2 is needed by (installed) rhpl-0.93.4-1
/usr/bin/python2.2 is needed by (installed) redhat-config-network-tui-1.2.15-1
/usr/bin/python2.2 is needed by (installed) redhat-config-date-1.5.15-1

'

As all theseshould work with python 2.3 so you can force it.
However you will need to install the first one but I do not know where to get it from.

ngan_yine 12-28-2003 03:15 PM

Rpm is such a pain ,I install my python 2.3 with tar file .After the installation the python 2.3 take over the 2.2 .I mean you can still use python2.2 but if you want to use that you may have to type like '/usr/lib/pyhton2.2' or wherever your python2.2 is and type the command you wish to carry it out. Like after you install python 2.3 ,if you want to compile a python file manually ,you just type 'python
[filename].py' and it automacitally use python 2.3.So according to those fact that I got ,I am assuming that all the program that depend on python 2.2 will be replcace by python 2.3.So it safe to uninstall the python 2.2 after you manage to install the python 2.3 and if you are using tar file to complile like I said it would replcae the main python in 'usr/bin/python' or something like but with RPM I don't know much but did you try it with 'rpm -U python2.3[something]? if don't ,U should!



best luck

davholla 12-28-2003 04:07 PM

I should have said that I installed python from a tar ball without any problems.
Although Ihad to recompile it to get Tcl to work as I did not install it the first time.


All times are GMT -5. The time now is 03:37 AM.