Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495
Rep:
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?
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
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>
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495
Original Poster
Rep:
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.