I am trying to run doxygen. When I type it at the bash prompt I get the following:
bash: /usr/local/bin/doxygen: No such file or directory
Yet when I try which doxygen
I get:
/usr/bin/doxygen
I though which
was supposed to identify which executable would be run if it were entered at the command line. Does anyone know what is going on here and how I can fix it so I can run doxygen
without specifying its prefix?
I had doxygen 1.18.1 installed and attempted to install the latest version (not from the repo), which didn't go well so I removed it. The latest version had put its executable in `/usr/local/bin'. Sorry, I should have mentioned that in the first place.
type -a doxygen
results in doxygen is /usr/bin/doxygen
.
My path is /usr/local/lib:/usr/share/code:/home/mark/bin:/home/mark/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
, but there is no doxygen
in /usr/local/bin.
doxygen
? – sudodus Apr 14 '18 at 05:26/usr/bin/doxygen
it works and with onlydoxygen
it doesn't, or did you try to run it with/usr/local/bin/doxygen
here? Do you have/usr/bin
in your$PATH
? Please [edit] and clarify. – dessert Apr 14 '18 at 06:23type -a doxygen
. – waltinator Apr 14 '18 at 07:08