Try running the updatedb command as root.
If you're using ubuntu or any of its derivatives, type
Note: You need to run this command when you add new files and/or programs to your linux system. This step is optional. But it must be run the first time before using the locate command.
When the updatedb finished, try the locate again.
Tip: Add the -i option to locate for case insensitive search.
locate -i keyword
Last edited by dv502; 10-06-2009 at 02:08 PM.