LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   rpm CAPABILITIES (http://www.linuxquestions.org/questions/red-hat-31/rpm-capabilities-4175429571/)

fakie_flip 09-29-2012 06:03 AM

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?

knudfl 09-29-2012 10:31 AM

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>

.

fakie_flip 09-30-2012 04:01 AM

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?


All times are GMT -5. The time now is 01:31 PM.