From: James Golden [mailto:jgolden@ci.grand-rapids.mi.us] Sent: Wednesday, March 31, 2004 3:16 PM
I was just reading an article on a program called slocate. It looks really cool for finding files but I don't seem to have it on my SUSE box. It seems to be specific to Fedora/Redhat. Is there something like it for SUSE? Or what do I have to install to get it?
i think you mean "locate" and "updatedb" .. search for these keywords in yast and you will find something. first you must run "updatedb" as root, after that, you can search for files with "locate" ! this database must be updated manually to be authentic! alternative you can use "whereis" .... cya frank
-- James Golden
City of Grand Rapids
Le mercredi 31 Mars 2004 15:21, Frank.Herchet@boschrexroth.de a écrit :
I was just reading an article on a program called slocate. It looks really cool for finding files but I don't seem to have it on my SUSE box. It seems to be specific to Fedora/Redhat. Is there something like it for SUSE? Or what do I have to install to get it?
i think you mean "locate" and "updatedb" .. search for these keywords in yast and you will find something. first you must run "updatedb" as root, after that, you can search for files with "locate" ! this database must be updated manually to be authentic!
alternative you can use "whereis" ....
Not really... - locate and slocate are different. The latter is supposedly secure, i.e. it handles permission on files. locate is available with the package "findutils-locate", while slocate indeed seems to be missing in SUSE. - You never, ever have to launch updatedb manually. It's run automatically by Cron every day and after each reboot. - Whereis has a very specific use which has nothing to do with locate. Whereis only looks for programs, manpages and source files related to a keyword, while locate manages a complete database of all files on the system but knows nothing of their type. To answer the original question, you could try to get a RPM package for slocate made for another distribution. There's a good chance it will be compatible these days. Look for it on http://rpmfind.net or http://rpm.pbone.net. Regards, -- Thibaut Cousin Web : http://www.thibaut-cousin.net
participants (2)
-
Frank.Herchet@boschrexroth.de
-
Thibaut Cousin