You are not logged in.

#1 2011-03-24 19:23:46

startover
Member
Registered: 2011-01-24
Posts: 33

[SOLVED] how to find which package provides a library

fedora has a useful feature that if an application requires a library, say "libc.so.6" you may simply run

 yum provides "*libc.so.6" 

and it tells you which package provides that library.

is there a similar way in arch to do this?

Last edited by startover (2011-03-24 20:49:27)

Offline

#2 2011-03-24 19:25:16

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] how to find which package provides a library

# pacman -S pkgtools
# pkgfile -u
$ pkgfile libc.so.6

Last edited by wonder (2011-03-24 19:37:58)


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2011-03-24 20:49:04

startover
Member
Registered: 2011-01-24
Posts: 33

Re: [SOLVED] how to find which package provides a library

Thanks,

Offline

Board footer

Powered by FluxBB