Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-18-2011, 12:11 PM   #1
Registered: Dec 2010
Posts: 67

Rep: Reputation: 0
Time to change!

Hi All,
I installed a newer version of python in /usr/local/bin/python2.6.
Now I want to use that python and only that one. When I type "Which python", I want to see /usr/local/bin/python2.6, NOT /usr/bin/python, which is old one (2.4)

Also, I want to see the same even after I reboot. How do I do that?

Thanks for your time, folks.
Old 04-18-2011, 12:14 PM   #2
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,829
Blog Entries: 1

Rep: Reputation: 1227Reputation: 1227Reputation: 1227Reputation: 1227Reputation: 1227Reputation: 1227Reputation: 1227Reputation: 1227Reputation: 1227
Have a look at the following link (specifically the last answer):
Old 04-18-2011, 03:46 PM   #3
LQ 5k Club
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Originally Posted by x201s View Post
"Which python", I want to see /usr/local/bin/python2.6, NOT /usr/bin/python
How is it supposed to say "python2.6" when you search for "python"? It will only work that way when you name python 2.6 "python".


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
Log Date/time doesn't change with system time saurabhchokshi Linux - Software 5 07-07-2010 12:27 AM
Device Node Change time to time issen007 Linux - General 0 01-22-2010 07:53 AM
How to change modification time/time created recursively?? Drigo Linux - Newbie 4 08-05-2009 07:45 AM
Various clock issues: Clock shows wrong time only in Knoppmyth, & CMOS time change ? davidbix General 1 04-05-2006 09:58 PM
Daytime Saving time. Cannot change time arubin Linux - General 9 11-06-2004 04:37 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:47 PM.

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