Le samedi 10 novembre 2007, Christofer Olofsson a écrit :
> > rpm -q --recommends php5
> 
> This works with a package that isn't installed aswell?

For uninstalled packages, you must add -p and replace the package name
by the full path to the package, e.g.:

rpm -qp --recommends ~/download/php5-5.0.42-1.x86_64.rpm

> Also, if they are only 'recommends', why to automatically install
> them, they're not needed, only good to have. 

You answered your own question it seems.

-- 
Jean Delvare
Suse L3
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to