locate

How is it possible to determine which command is in which package? A guess locate should be in the package findutils, but I have the package and I do not have command locate. I would like to have locate, but I do not know in which package is it. Is there an easy way to determine which command is in which package?

What on earth do you mean?
The command to start the application?

locate is a command, which can find files by name.

zypper in findutils-locate

To determine which command is in which package, you can use the software-installer. In the search screen you have options like name, description, but also ‘RPM provides’ and ‘Files’. Just uncheck name and description and check one of those.
If locate is not installed it gives you a clue what package to install.
Anyway, locate is in the package findutils-locate. On my system a simple search for ‘locate’ did the job…
You could also try the Software Search on opensuse.org

Don’t forget to first run ‘updatedb’ as root to create the initial database.

Suxxes

peachh wrote:

> How is it possible to determine which command is in which package?

Use the search funtion in yast’s software module.
A search for locate comes up with the package findutils-locate.
Or to be more specific, use the filter “rpm provides”

rpm -ql findutils-locate|grep bin
/usr/bin/locate
/usr/bin/updatedb


Chris Maaskant

Check out the RPM kio-locate too – interesting