Other Help Topics :: Howto extract RPM's
I'm needing to extract files from an RPM, just extract, not load them.
Does anyone know of a tool for doing this?
rpm would normally have the ability to do this, but in DSL rpm is part of the Busybox toolkit and therefore limited in its functionality.
You will probably need to install the "real" rpm in order to extract.
One other thing you could do is boot a liveCD or a "dsl base norestore" frugal system, install the package, and then manually copy the installed file(s). They will be in /usr/bin, /usr/share/appname, and maybe a config file in /etc.
You could copy rpm and it's linked binaries into a temp folder along with the rpm and then run
sudo chroot /home/dsl/temp /rpm -i /myrpmfile.rpm
all the stuff should be installed into this fake root directory following its normal install instructions.
There is more than one way to skin an rpm. I have used alien.dsl to convert rpm to tgz. You can view and extract tgz using the tar command or submenu in emelfm.
nickelplated & u2musicmike:
Both ideas are things I'd never considered. Thanks for those tips.
Next Page...
original here.