LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-04-2003, 02:38 PM   #1
Dominik
Member
 
Registered: Nov 2003
Distribution: slackware9.1/freebsd5.2
Posts: 53

Rep: Reputation: 15
Question python 2.3 installed on RH 9 but 2.2.2 is active


Hello,

J've just installed the whole python rpm's package for redhat 9.

Installation done with a NOKEY warning for each pack.

The Python 2.3 directory is close to the 2.2 but my python active shell remains
the 2.2.2 version.

....Thanks

Dominik
 
Old 12-04-2003, 02:43 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
How about removing the old package then?

And as for the install - did you do install or
upgrade??

man rpm
for details...


Cheers,
Tink
 
Old 12-04-2003, 02:51 PM   #3
Dominik
Member
 
Registered: Nov 2003
Distribution: slackware9.1/freebsd5.2
Posts: 53

Original Poster
Rep: Reputation: 15
Hi Tink,
I'm on linux since 2 weeks.

I typed in the shell rpm -i for all packs.

Don't know if system upgraded or installed,.

I thought the solution was to change a path but where??
 
Old 12-04-2003, 03:01 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Do you NEED to keep the older version?

The path's for executables will presumably be
set somewhere in /etc (if it's the paths, not symlinks).
The python shared libraries should be listed
in /etc/ld.so.conf

But then this all may be quite distro specific.

To find out whether python gets called through
a link, do both of these:
Code:
which python                   (will show you the path to the file)
ls -l `which python`           (will show whether it's an executable or a symlink to an executable)

Cheers,
Tink
 
Old 12-07-2003, 12:42 AM   #5
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
Maybe this will help you, straight from www.python.org:

If you're compiling from source on Red Hat 9, RH9 compiles Tcl/Tk as UCS-4, but Python still defaults to UCS-2. You can either use


./configure --enable-unicode=ucs4
with Python, or you can try Anthony Baxter's patched version of Tcl/Tk at http://www.interlink.com.au/anthony/tech/rh9-tcltk/. Note that some people have noticed that RH9's Tcl/Tk chews memory like crazy, so definitely try Anthony's patch if you have that problem.
 
Old 12-07-2003, 08:22 AM   #6
jrpretz
LQ Newbie
 
Registered: Jun 2003
Posts: 18

Rep: Reputation: 0
I did this.

I think RH9 puts python in
/usr/bin and the python installer puts it in
/usr/local/bin. In my .cshrc at least it picked up the
/usr/bin first and never found the /usr/local/bin one.

I think I just moved all the python stuff in /usr/bin from /usr/bin/python to /usr/bin/python.old or whatever.
 
  


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
Can active X be installed on firefox? TechSonic Linux - Newbie 5 04-26-2005 04:46 AM
Installed Python 2.4 Tuul Programming 3 01-25-2005 07:46 AM
pcmcia wifi card - installed: yes, active: no! evilhomer SUSE / openSUSE 1 12-01-2004 06:57 PM
Sound card is installed, but doesn't seem to be active. Fenster Fedora 8 10-09-2004 02:51 PM
Python 2.3 installed but still coming up 2.2.2 why? ifurita Linux - Software 1 10-10-2003 10:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:43 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