Using RPM to extract file

kron24 kron24 at gmail.com
Wed Sep 21 12:09:35 UTC 2011


On 2011/09/21 13:17, Carmel wrote:
> I am attempting to obtain a PPD file for a Brother MFC-9560CDW printer.
> According to this URL:
> <http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html>,
> I can download a file from:
> <http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html#MFC-9560CDW>
> for this printer. Unfortunately, the file is only available in either
> "RPM" or "DEB" format. I cannot figure out how to extract the "PPD"
> from "RPM" file. I have read "man rpm"; however, I am still confused. I
> tried following the instruction given on the site for extracting the
> files; however, that only issued a warning about an incorrect operating
> system.

First use rpm2cpio of archivers/rpm to get a cpio package.
Then continue with standard cpio(1).

BR,
Oli


More information about the freebsd-questions mailing list