Linux - NewbieThis 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.
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.
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?
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:
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?
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.
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!
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.