dnf command to list contents of packages?

Kevin Fenzi kevin at scrye.com
Tue Jul 14 16:49:02 UTC 2015


On Tue, 14 Jul 2015 18:37:18 +0200
Edouard Fazenda <edouard.fazenda at gmail.com> wrote:

> Hi Neal Becker,
> 
> I'm new using dnf, but i would prefer using rpm query to list the
> content of an uninstalled packages.
> 
> Like : "rpm -qpl [url package]"  but if anyone have a tips with dnf i
> will be happy to know.
> 
> 
> > Is there a dnf query that would list the contents of an uninstalled
> > package, without d/l it?

dnf repoquery -l packagename

That will only work for packages in the enabled repos, you can't pass
it a url. 

kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20150714/aaa42296/attachment.sig>


More information about the users mailing list