Removing Python 2.4.4 on OSX

Greg Donald gdonald at gmail.com
Sat Mar 24 20:23:18 CET 2007


On 24 Mar 2007 12:10:12 -0700, 7stud <bbxx789_05ss at yahoo.com> wrote:
> Can you explain how that works?  If you install python in /usr/local,
> doesn't that leave you with something like /usr/local/python?  So what
> does putting usr/local/bin ahead of your other paths do?

./configure --prefix=/usr/local

Then python would be /usr/local/bin/python.

For bash put this somewhere near the end of your .bashrc or /etc/bashrc:

export PATH="/usr/local/bin:$PATH"

Then when you attempt to run the python binary it will be found in the
place you installed it first, not where the system version was
installed.

http://en.wikipedia.org/wiki/Path_%28computing%29


-- 
Greg Donald
http://destiney.com/



More information about the Python-list mailing list