I use Debian stable linux (squeeze). "echo $PATH" gives (newlines added and
name replaced):
/usr/local/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:
/usr/games:/home/xxxxxxxx/bin:/home/xxxxxxxx/lib:/home/xxxxxxxx/lib/python:
/home/xxxxxxxx/bin:/home/xxxxxxxx/lib:/home/xxxxxxxx/lib/python
If I do
cd /usr/bin
ls -il *
the output includes
262067 lrwxrwxrwx 1 root root 9 Mar 21 2011 python -> python2.6
262052 -rwxr-xr-x 1 root root 2288272 Dec 26 2010 python2.6
If I type "python", Python runs. Python also runs from my home directory.
This Python came with "squeeze".
I have just compiled and installed octave from source and removed the Debian
octave packages. If I do
cd /usr/local/bin
ls -il
the output includes
1584647 lrwxrwxrwx 1 root staff 12 Feb 29 22:14 octave -> octave-3.6.1
1584644 -rwxr-xr-x 1 root staff 7346 Feb 29 22:14 octave-3.6.1
If I type "octave", it does not run. The error message is:
bash: /usr/bin/octave: No such file or directory
But "octave-3.6.1" or "./octave" both start octave.
If cd to my home directory, "octave-3.6.1" runs octave but "octave" gives
the same error message.
Both the python and octave links appear to be soft links. "/usr/local/bin"
is in my PATH. Why do python and octave behave differently? What do I
change so I can run octave by typing "octave"?
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f4f9491.2070...@comcast.net