Description of problem: Short: rpm -i --justdocs foo.rpm Long: It could be potentially useful to be able to install just the documantation from an rpm package. e.g. if program foo is installed on a server I would be able to do "man foo" on another machine without actually installing the program. This would eliminate the need for either installing a program that won't be used (think security, less program is better), copying man/html/whatever files out of the .rpm file or connecting (potentially slow) to the server where the files are The option --justdocs would work as an exact opposite of --excludedoc since rpm already knows how to exclude documentation it should be relatively easy to let it exclude everuthing except documentation Version-Release number of selected component (if applicable): NA How reproducible: NA Steps to Reproduce: NA Actual results: NA Expected results: NA Additional info: NA
This feature is not currently planned for RPM. Should you wish this for consideration raising with a patch on rpm-devel-list is the preferred route. https://lists.dulug.duke.edu/mailman/listinfo/rpm-devel