uncompress *.iso / *.rpm

how to uncompress soft like .iso /.rpm(do not install soft ,just uncompress it to see the source).


To uncompress files like rpm, you’ll need rpm installed and prfereably the source file.

For ISO file, you have ISO Master, KIso.

In fact they are no compressed things at all.

In ISO file a complete copy (in one file) of a ISO 9660 file system as they can be found on CD’s and DVDs. start at: ISO 9660 - Wikipedia, the free encyclopedia

An RPM is a file containing a bunch of files and an administration that together make a software package. That is all the files that are to be installed (executables, libraries, man pages, configuration files, …) and scripts to be run during install and administration that tells which other packages should be allready there (dependancies) and where all the stuff should go. Start here:RPM Package Manager - Wikipedia, the free encyclopedia and work down until you know all the details.

BTW, you posted twice (some hickup in the click??). I removed the other one.

Hash: SHA1

You can open both .iso and .rpm files easily with file-roller in Gnome. I
THINK that ark can do the same in KDE.

Ootherwise, worst-case scenario, you can use rpm2cpio to convert an RPM to
a cpio file (which you can open with a decent archive tool, or which you
can extract easily w/the cpio command) and you can mount an ISO to any
*nix box natively out of the box and view its contents like any other
directory structure.

Good luck.

On 09/13/2010 08:36 PM, DaaX wrote:
> Hi,
> To uncompress files like rpm, you’ll need rpm installed and prfereably
> the source file.
> For ISO file, you have ‘ISO Master’
> (http://www.littlesvr.ca/isomaster/), ‘KIso’
> (http://kiso.sourceforge.net/).
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/


How to extract an rpm:

rpm2cpio rpmfilename.rpm | cpio -idmv

you can use rpm2cpio as ah7013 mentioned or you use a trick

rpm -Uhv --ignorearch --nodeps --force  --root /Your/PATH package.rpm

but you have to be root to do this while for rpm2cpio you dont need root privileges.

I didn’t know that rpm could do that. Thanks for info!

I simply do:

unrpm mypackage.rpm

unrpm is part of the ‘build’ package.

To look at the contents of an *.iso file mount it with the loopback device.

How to: Mount an ISO image under Linux

which is the same as using rpm2cpio

which is the same as using rpm2cpio

yep, with the difference that I can’t remember those -idm args for cpio. Maybe I’m just lazy. :slight_smile: