Editing a Path
starx at pacbell.net
Tue Dec 4 07:43:48 CET 2001
Michael Kelly || Mon 03 Dec 2001 12:32:39p:
> On Mon, 03 Dec 2001 11:58:41 -0800, Ben Ocean <zope at thewebsons.com>
>>This may be slightly OT, but I need to edit my path /usr/bin/python such
>>that it renders python2.1 instead of python1.5.2
>>I built python2.1 from source on an RH71 box. How do I update the path?
> Use the ln command to change the soft link.
> man ln
> from the /usr/bin directory do
> ls -l python
> if you get something like:
> python -> python1.5.2
> then it's a soft link pointing to that directory.
> Just use ln to point it to python2.1
And IF it is a link and displayed like that, you can do this to change it
ln -s /path/to/the/one/you/want/python(ver.si.on?) /bin/python
If it isn't, well, maybe you could:
mv /usr/bin/python /usr/bin/python152
Or something similar so that you keep it and can still use it if you
Philip Sw "Starweaver" [rasx] :: <nothing>
More information about the Python-list