pgeorges a �crit :
>
> Matt Steven a �crit :
> >
> > Is there any simple way to search for which RPM provides files you need
> > without having them already on your system? The example you provide works
> > for you since you have it installed, but not for me since I didn't.
>
> Put the following in a file 'findinrpm.sh' (it takes as arg the searched
> file) :
>
> #!/bin/sh
> for i in /RPMS/*.rpm ; do
> if rpm -qlp $i | grep $1 > /dev/null ; then
> $result ; echo "Found $1 in $i"
> fi
> done
$result is of course useless and harmless in this script.