LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
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: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Original Poster
Rep: Reputation: 85
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:06 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