Gain Paolo Mureddu wrote:
>Yes :
>
>[root@localhost ~]# rpm -q redhat-artwork
>redhat-artwork-0.122-10
>[root@localhost ~]#
>
>(I don't understand the "--whatprovides ... that you have in between
>(which shows as a separate line on my newsreader). Fwiw, when I tried
>copying & pasting it onto the line after "rpm -q" and hitting enter, I
>
>also got the same 0.122-10.
>
I think the same could have been accomplished by rpm -ql redhat-artwork
| less, which would list all the package's contents, and makes the
output scrollable.
No, that's not the same. The following command returns to which
installed package <file> belongs:
rpm -q --whatprovides <file>
I found a redhat webbrowser icon file and used the command above to
discover that it belonged to the redhat-artwork package.
Nils.