I just installed valgrind on my Fedora12 machine.
$ valgrind // 1
$ valgrind: Command not found. //error
$ /usr/local/bin/valgrind // 2 works fine
My $PATH has /usr/local/bin in it.
Is there something else that I need to do to make 1 work?
type -a valgrind. This will show whether an alias or a function is superseding the one(s) found in the path. It will also show if it appears at more than one point in the path. – Dennis Williamson May 18 '10 at 20:05yum install valgrind? – Ignacio Vazquez-Abrams May 18 '10 at 20:16echo "'$PATH'"|cat -vorecho "'$PATH'"|hexdump -Cto see if there are any odd characters in your path. Also, do other executables in/usr/local/binwork properly? And is there anything aboutvalgrinditself that requires a fully specified path? – Dennis Williamson May 18 '10 at 20:18