LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 09-29-2012, 06:03 AM   #1
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,440

Rep: Reputation: 80
rpm CAPABILITIES


Over and over again, I see the word CAPABILITIES, usually underlined, used in the rpm man page. I want to know exactly what is meant by that. For example, the rpm's command line option --requires just says

Quote:
-R, --requires
List capabilities on which this package depends.
Other times it's used in all CAPS and underlined. Is there more documentation that explains what it means by "capabilities", and if so, where would I find that?
 
Old 09-29-2012, 10:31 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,547

Rep: Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509Reputation: 2509
Well, capabilities is a broad term that can mean anything a package needs or provides.

Example, a downloaded package : $ rpm -qRp <package>.rpm
The reply can be: /bin/sh, rpmlib(PayloadFilesHavePrefix) <= <?>,
rpmlib(CompressedFileNames) <= <?>, libc.so.6, etc. etc.
I.e. everything that's required : commands, files, packages.

Example commands, an installed package : rpm -q -R <package-name>
Or : $ rpm -qR <package-name>

And : $ rpm -ql <package-name>

.
 
Old 09-30-2012, 04:01 AM   #3
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: san antonio, texas
Distribution: Fedora 64 bit RAID0 + LUKS, CentOS (server), Backtrack, Gentoo Hardened
Posts: 1,440

Original Poster
Rep: Reputation: 80
Thanks for the information. So none of the output of is package names? For example rpm -qR rpm will have "grep" in it's list of package. Is it referring to the grep package or the file grep itself?
 
  


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
Inkscape and it's capabilities Ztcoracat Linux - Software 5 06-30-2012 12:25 AM
what are the capabilities of apache tkmsr Linux - Server 3 06-21-2010 12:16 AM
Capabilities: <available only to root>? Richpo Linux - General 9 08-02-2006 12:20 PM
GIMP Capabilities DrEwMoNeY Linux - Software 19 03-10-2006 03:33 PM
Capabilities of *BSD username17 *BSD 1 11-04-2005 06:04 PM


All times are GMT -5. The time now is 08:40 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration