extracting RPM docs

Gyepi SAM gyepi at praxis-sw.com
Wed Nov 10 16:15:24 CET 2004


On Wed, Nov 10, 2004 at 10:28:35AM -0000, Robin Bowes wrote:
> My point is that if you use rpms then you have to install the rpm to read
> the documentation.

Not entirely true. You can extract the documentation from an rpm file without
installing it. In fact, you can extract any file from an rpm file without
installing it.

rpm2cpio < file.rpmi | cpio -i -d --no-absolute-filenames '*/doc/*' will extract
every path in the rpm with the desired pattern into the current directory.

This really comes in handy if the rpm binary or related libraries get screwed
up.


> The documentation should be available separately, e.g. on the bogofilter website.

Sounds like a good idea ...

-Gyepi



More information about the Bogofilter mailing list