Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-12-2003, 04:34 AM
|
#1
|
Member
Registered: Aug 2003
Distribution: Slackware 10.1
Posts: 113
Rep:
|
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!
|
|
|
12-12-2003, 05:35 AM
|
#2
|
Member
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653
Rep:
|
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: HTH
Baldrick
|
|
|
12-12-2003, 09:50 AM
|
#3
|
Member
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 729
Rep:
|
I didn't remove 2.2 and there were no problems.
|
|
|
12-12-2003, 04:33 PM
|
#4
|
Member
Registered: Aug 2003
Distribution: Slackware 10.1
Posts: 113
Original Poster
Rep:
|
thanks"
Thanks for the reply ,I decided to both version of python ,I am not having any problem right now.!
thanks!
|
|
|
12-27-2003, 03:59 AM
|
#5
|
Member
Registered: Oct 2003
Location: Mississauga, ON
Distribution: Ubuntu 9.04
Posts: 496
Rep:
|
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?
|
|
|
12-27-2003, 10:14 AM
|
#6
|
Member
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 729
Rep:
|
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.
|
|
|
12-28-2003, 04:15 PM
|
#7
|
Member
Registered: Aug 2003
Distribution: Slackware 10.1
Posts: 113
Original Poster
Rep:
|
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
|
|
|
12-28-2003, 05:07 PM
|
#8
|
Member
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 729
Rep:
|
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:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|