cancel
Showing results for 
Search instead for 
Did you mean: 
Trevor
Starfighter Starfighter
Starfighter
  • 301 Views

List Files in rpm package not installed

Jump to solution

There is a package named zsh.x86_64, that I would like to display its content.

The rpm package is not installed on my Linux system, nor does the .rpm file for
the package exist anywhere on my Linux system.

I don't wish to install to install the rpm package - I just want to list the files
contained in the rpm package.  

Write the command that will allow me to display the files in this package, without
my having to install it?

 

Trevor "Red Hat Evangelist" Chandler
1 Solution

Accepted Solutions
TM
Flight Engineer Flight Engineer
Flight Engineer
  • 282 Views

dnf repoquery --list zsh.x86_64

View solution in original post

2 Replies
TM
Flight Engineer Flight Engineer
Flight Engineer
  • 283 Views

dnf repoquery --list zsh.x86_64

Trevor
Starfighter Starfighter
Starfighter
  • 255 Views

I like it!  I like it a lot!!!
TM gets the points!!!

 

This is no biggee, but just the based portion of the package name  - "zsh"
would have been sufficient:

dnf  repoquery  --list   zsh

 

 

Trevor "Red Hat Evangelist" Chandler
Join the discussion
You must log in to join this conversation.