I want to list the files in an rpm package that is NOT installed.
That rpm package resides in a respository, and the repository
is NOT enabled.
I want to list the files in the rpm package, but I don't want to have
to enable the repository, nor do I want to have to install the rpm.
What command can I execute that will list the files in this rpm,
without having to enable the repository that the rpm exist in,
and/or install the rpm?
Intended audience: RHCE level and below
Hi @Trevor,
I think the command below will do the trick: listing files in bar packages that resides in foo repository.
dnf --disablerepo=* --enablerepo=foo repoquery --list bar
Regards,
Tshimanga
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.