LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-12-2022, 12:12 AM   #1
shanebagel
Member
 
Registered: Apr 2022
Posts: 52

Rep: Reputation: 2
Unhappy How do you view a packages configuration files without installing the package first?


Repoquery has a ton of flags but I cannot find anything like:
rpm -qc packagename

Basically - what if you want to query a command for a list of configuration files but you don't want to install the command first?
I've read through the entire man page on repoquery and I cannot find the flag for configuration files - or maybe I'm just blind?

Thanks!
 
Old 06-12-2022, 12:19 AM   #2
shanebagel
Member
 
Registered: Apr 2022
Posts: 52

Original Poster
Rep: Reputation: 2
Come to think of it - I can't seem to find a command like:
rpm -qd packagename

Do you guys know of a flag to run with repoquery that will give you both configuration and documentation of a package without having to install it first?

Last edited by shanebagel; 06-12-2022 at 12:33 AM.
 
Old 06-12-2022, 01:09 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
First of all, for your own good you shouldn't be the first one to reply to your thread because that will remove it from zero reply status, which some people use to find out where they can help.
In the future, edit it instead.

I'm not sure what you mean by config files - if they are part of what a package installs before you run the software the first time then the package manager will show it in a listing of installed files.
But to my knowledge all existing package managers can only do this for already installed files, they cannot see what files a given package would install.

It would be possible to have this feature only if either package maintainers specify this list of installed files inside the package's metadata, or the repository maintainers would test-install each package, and add that metadata that way.

Quote:
Originally Posted by shanebagel View Post
Repoquery has a ton of flags but I cannot find anything like:
rpm -qc packagename

Basically - what if you want to query a command for a list of configuration files but you don't want to install the command first?
I've read through the entire man page on repoquery and I cannot find the flag for configuration files - or maybe I'm just blind?
Quote:
Originally Posted by shanebagel View Post
Come to think of it - I can't seem to find a command like:
rpm -qd packagename

Do you guys know of a flag to run with repoquery that will give you both configuration and documentation of a package without having to install it first?
 
1 members found this post helpful.
Old 06-12-2022, 04:31 PM   #4
shanebagel
Member
 
Registered: Apr 2022
Posts: 52

Original Poster
Rep: Reputation: 2
Thank you sir!
 
Old 06-12-2022, 11:17 PM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by shanebagel View Post
Thank you sir!
You're welcome, but I'm not a sir.
 
Old 06-13-2022, 12:10 PM   #6
shanebagel
Member
 
Registered: Apr 2022
Posts: 52

Original Poster
Rep: Reputation: 2
Oops lol - well thanks regardless!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Building debian packages for all architectures from one package and scanning to repositories to host that packages on apt repo tenet Debian 1 05-23-2022 07:42 PM
[SOLVED] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
[SOLVED] You are on need of building a PHP-5.6.36 package on -current, after the fall of OpenSSL 1.1.0? You will need a patch and here you find what Darth Vader Slackware 2 05-17-2018 10:07 AM
Remove a package and all packages it depends on without breaking other packages? macroron Fedora 2 01-31-2010 05:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration