How find a package If i known only the name of a file ......

Zypper
In summary i would like known with package is the owner of a single file on the system.

For example if I specify the file:
libexiv2.so.5
i would like known, using zypper, in which package this file is present.

Note:
Mmm i think go on the topic: Applications
because now i read that topic cover even: usage.:\

I just use Webpin. Type in the name of the file, choose what version of openSUSE you are using, then click SEARCH. It works great and I recommend it all the time.

Webpin

As a side note, Webpin will show you what packages it can be a part of and that can be multiple packages, but that should help you narrow it down.

There is probably a better way to see this on packages that are already installed, but I have not researched it.

On packages that are installled (as Wilson_Phillips I am not sure if you mean that or not) goto YaST > Software > Software Management. In the search field fill in the file name and below check (only) the “provides” button.

Hi
Another command is scout Scout - openSUSE Wiki although for 11.2
there are still some webpages that need updating for full functionality.

Very useful if your at the command line and want to add a repository
with zypper ar.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.37-0.1-default
up 0:39, 2 users, load average: 0.00, 0.04, 0.09
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.18

talk about stumbling over diamonds in the rough…

just glanced at this thread thinking to myself “well, there is the <provides> checkbox in search”… and then i notice this reference to scout.

had no idea it existed, thanks for taking the time to mention it…owe you a beer, malcolmlewis.

zypper wp libexiv2.so.5

Recupero dei dati del repository...
Lettura dei pacchetti installati...
S | Nome             | Tipo      | Versione   | Arch   | Repository        
--+------------------+-----------+------------+--------+-------------------
i | libexiv2-5       | pacchetto | 0.18.2-2.1 | x86_64 | openSUSE:11.2:Free
v | libexiv2-5       | pacchetto | 0.18.2-2.1 | i586   | openSUSE:11.2:Free
  | libexiv2-5-32bit | pacchetto | 0.18.2-2.1 | x86_64 | openSUSE:11.2:Free

Thanks everyone. :wink: