cookbook: extracting files from a .rpm
Translation of the original in Catalan. Read it in: CatalàCastellano
Knowing the list of files inside a .rpm package:
rpm2cpio fitxer.rpm | cpio -t
Extracting one or more files from the .rpm:
rpm2cpio fitxer.rpm | cpio -ivd [fitxer_a_extreure]1 comment
Comments from the old blog, as they were written. Comments are closed.
frommelmak
Otra opción para lo primero:
rpm -pql fitxer.rpm