LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 12-12-2003, 03:34 AM   #1
ngan_yine
Member
 
Registered: Aug 2003
Distribution: Slackware 10.1
Posts: 113

Rep: Reputation: 15
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!
 
Old 12-12-2003, 04:35 AM   #2
Baldrick65
Member
 
Registered: Aug 2003
Location: Dunedin NZ
Distribution: Mint 13 Cinnamon
Posts: 653

Rep: Reputation: 31
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
 
Old 12-12-2003, 08:50 AM   #3
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 729

Rep: Reputation: 32
I didn't remove 2.2 and there were no problems.
 
Old 12-12-2003, 03:33 PM   #4
ngan_yine
Member
 
Registered: Aug 2003
Distribution: Slackware 10.1
Posts: 113

Original Poster
Rep: Reputation: 15
thanks"

Thanks for the reply ,I decided to both version of python ,I am not having any problem right now.!
thanks!
 
Old 12-27-2003, 02:59 AM   #5
vincebs
Member
 
Registered: Oct 2003
Location: Mississauga, ON
Distribution: Ubuntu 9.04
Posts: 496

Rep: Reputation: 30
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?
 
Old 12-27-2003, 09:14 AM   #6
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 729

Rep: Reputation: 32
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.
 
Old 12-28-2003, 03:15 PM   #7
ngan_yine
Member
 
Registered: Aug 2003
Distribution: Slackware 10.1
Posts: 113

Original Poster
Rep: Reputation: 15
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
 
Old 12-28-2003, 04:07 PM   #8
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 729

Rep: Reputation: 32
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Processing Conflict: python-devel conflicts python< 2.3.4-13.1 guarriman Fedora 2 04-23-2009 07:02 PM
installing python library's (Python Numeric) Four Linux - Newbie 1 10-16-2005 02:31 PM
Python guru's - Is this a python bug? or is it me? bardinjw Programming 2 06-23-2005 08:17 AM
WineX, python-gnome, and python-gtk DrD Fedora 0 08-03-2004 12:11 PM
Try Python, O'reilly Learning Python haknot Programming 5 02-15-2002 08:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration