LinuxQuestions.org
Help answer threads with 0 replies.
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 08-10-2004, 05:55 PM   #1
smokarran
LQ Newbie
 
Registered: Jul 2004
Location: Mid-Atlantic/East Coast
Posts: 5

Rep: Reputation: 0
RPM - commands


Can someone tell me what the commands are, in RPM, to do the following three things:
(1) display only the configuration files associated with a package;
(2) display a list of files marked as documentation; and
(3) the option to tell a user what package a particular file belongs to.

Thank you!
 
Old 08-10-2004, 06:02 PM   #2
Braveheart1980
Member
 
Registered: Jan 2004
Location: Greece!
Distribution: Ubuntu 9.10
Posts: 633
Blog Entries: 1

Rep: Reputation: 30
All the help u need is here : man rpm
 
Old 08-10-2004, 06:54 PM   #3
smokarran
LQ Newbie
 
Registered: Jul 2004
Location: Mid-Atlantic/East Coast
Posts: 5

Original Poster
Rep: Reputation: 0
man rpm

Isn't there something that's supposed to come after that, like "-l", "-f", or "-r"? I guess I thought the answer wouldn't be that simple. Thanks!
 
Old 08-11-2004, 01:20 AM   #4
colabus
Member
 
Registered: Mar 2004
Distribution: Debian Sarge, FC4
Posts: 100

Rep: Reputation: 15
smokarran, "man rpm" will display the manual pages for the RPM command, just navigate through them and you'll work it out soon enough.

I myself don't use rpm, so sorry I can't be more simpler
 
Old 08-11-2004, 01:52 AM   #5
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
(1) display only the configuration files associated with a package;

not sure how to display only config files but

rpm -ql packageName

will display all files associated with the package


(2) display a list of files marked as documentation; and

rpm -ql packageName | grep -i doc

or look for files in the doc or man directories when doing rpm -ql packageName

(3) the option to tell a user what package a particular file belongs to.

rpm -qf theFileName

Last edited by jax8; 08-11-2004 at 01:57 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
YUM/RPM commands giving errors MontyPY Linux - Software 1 03-04-2005 08:10 AM
What set of bash commands are needed to provide support for rpm? LBendixsen Linux - Newbie 2 04-01-2004 11:43 AM
Rpm commands? RichardSimmons Linux - Newbie 2 03-02-2004 04:32 PM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 09:22 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM

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

All times are GMT -5. The time now is 06:50 AM.

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