Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Howto extract RPM's, ..not load, just extract.< Next Oldest | Next Newest >
newby Offline





Group: Members
Posts: 171
Joined: June 2006
Posted: July 26 2006,14:17 QUOTE

I'm needing to extract files from an RPM, just extract, not load them.

Does anyone know of a tool for doing this?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: July 26 2006,14:31 QUOTE

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.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
nickelplated Offline





Group: Members
Posts: 75
Joined: May 2005
Posted: July 26 2006,15:13 QUOTE

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.
Back to top
Profile PM 
u2musicmike Offline





Group: Members
Posts: 149
Joined: April 2006
Posted: July 26 2006,18:29 QUOTE

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.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: July 26 2006,22:05 QUOTE

nickelplated & u2musicmike:

Both ideas are things I'd never considered.  Thanks for those tips.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
9 replies since July 26 2006,14:17 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Howto extract RPM's

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code