I have managed to make a bit of a mess of my unrar utility.
I discovered that it was not installed so I downloaded a version (v2.71) from tucows and installed it from source.
"unrar e somefile.rar" gave me "corrupted header" errors on a known working archive so I thought I had better uninstall that version and find another.
"make unistall" gave me a "no target to make - stop" error so I guess that there was no option to unistall. Instead I did a "locate unrar" and a "whereis unrar" (after updatedb) which seemed to show no trace or unrar anywhere except in the directory I untarred the source and in /usr/local/bin. So I simply deleted all the executable and the untar direcory.
Next I installed another version of unrar - thi time using apt-get (should have done that first!) this time version 3.4.3-1.1.fc3.fr.
Now when I try "unrar e somefile.rar" I get
[mark@localhost rars]$ unrar e somefile.rar
bash: /usr/local/bin/unrar: No such file or directory
and when I do a "whereis" I get this
[mark@localhost rars]$ whereis unrar
unrar: /usr/bin/unrar /usr/share/man/man1/unrar.1.gz
So it seems that my FC3 system is still expecting to find unrar in /usr/local/bin while the real version is actually in /usr/bin
How do I tell Fedora where it should be looking?
How should I have uninstalled that rogue software (without being able to do "make uninstall") so that this won't happen again?