uncompress *.iso / *.rpm

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

Hi,

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.

-----BEGIN PGP SIGNED MESSAGE-----
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/).
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJMjvF2AAoJEF+XTK08PnB5/iIP/RFVmLdOqALieNzZb8VWjtY2
wKj2YW2SyQguXVlf7fCZkx6NA6xBEwq1FL5K0HbbgZ4WepuoCYlMZrckskUJiOut
mXktBsjynC7hYvMN9jzGdDPyE6csYeJuFnfU7oymyjlHVNy+ANLv56aeVXL+aRdV
nDs6GzqWJq+rc1hWjay7EFcWaTrvBalvcFAEHpGueDAJAgXWpC6hRDZIKz0y+5wZ
jmVhYvldE4xAXxUIKJR91GRfKnk9m6smWfP/KNpTW4YXvw/EjNe6aIX/pBiEwH7c
0HUGW2sDxFmZrFvfEna9k+d0vdS5cbvarYIYxuDmc87wA5bXzYrdsmNZ4/do4KIt
aiGeEU4pdaYAodWDyTK2v2fyL1Pg6zlZEROcAzrvbyJfmHyXAxo+u8tEf3Qi2pIo
IjOu/7pgPvoYAhwi3BuTs5hiEgSK24aF+R4B8hurbZSupZFiVxqq1QEsu9zFiAWr
m1H2agO4vn2mQ+u/SvIjQjQwk45QvlkhFFq+gn39TFiQ9TAthv6HBvgAfCU4Y3zt
Mvkhr7iPTW8dB30TWjlFo8RvoEAy6HOkpuIQDfETHW7PZFau7eGnLIevs8wAY9nd
ZMKT4GRF47/WDWSmk8RKCBVoGiJETsjo/yyk7vvrNZpEOgVoCEdf2IgUsyTRxqMD
+rFuJOy+aYogd+GgyqVv
=Q83o
-----END PGP SIGNATURE-----

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: