* rpm package can be extracted by issuing this command at the command line.
$rpm2cpio {rpm-package name} | cpio -idv
* deb packages can be extracted by issuing this command at the command line.
$dpkg-deb -x {deb-package name} {target directory}
Enjoy..
6 comments:
you can extract debian package like this also
for displaying contents
ar tv somepackage.deb
extracting files of debian package
ar xv somepackage.deb
thanks
Thanks a lot!!!
That helped me a lot! Extracting a file from a package is much less painfull than recovering ist from ext3 (after having deleted it accidentally)! :-)
Great tips vijay, thanks.
Thanks. This blog post might be 5 years old, but it helped me!
Post a Comment