LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-24-2003, 08:46 PM   #1
Odd_Bloke
Member
 
Registered: Aug 2003
Location: P'boro, UK
Distribution: Fedora Core 1 (Yarrow)
Posts: 87

Rep: Reputation: 15
Running Installed Programs


I have recently installed Python 2.3 on my computer (AFAIK ) by using:
./configure
make install

However, whenever I type 'python' in a shell (nearly wrote command prompt) it still runs version 2.2.2 which somes with Red Hat 9. How do I change this so it works correctly?

Cheers,
Dan
 
Old 08-24-2003, 08:52 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
type
which python

This should give you a reply like:
/usr/bin/python

Then Type:
ls -l /usr/bin/python*

Which should give you, python -> python2.2 at the end of a line, and python2.3 at the end of another line.

If this is the case then su to root, and type.
cd /usr/bin
rm python
ln -s python2.3 python
exit

Now try it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Wine problem - missing files when running not installed programs TMH2 Linux - Software 2 06-28-2005 04:35 PM
Running Installed RPM Programs? DB03 Linux - Newbie 6 05-30-2004 11:40 AM
How to get newly installed programs in programs list Brosky Linux - Software 5 02-06-2004 04:45 PM
Where do Installed programs go? Cafrow Linux - Newbie 5 08-06-2003 02:23 AM
running installed programs skewer Linux - Newbie 7 04-04-2003 12:37 AM


All times are GMT -5. The time now is 09:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration