Cracking Open an RPM

Bill Campbell linux-sxs
Mon May 17 11:59:57 PDT 2004


On Tue, Mar 02, 2004, James McDonald wrote:
>Leon Goldstein wrote:
>
>>How does one disassemble an RPM?  I want to extract some files from a 
>>SuSE RPM without installing them.
>>My project is trying to resurrect WordPerfect Office 2000 for Linux, 
>>which dies when glibc 2.3.2 is installed.
>>I want to put the older compatible glibc in a system with glibc 2.3.2 
>>and set the environment variable for the WPO2KL
>>start up script to load the older lib.
>>
>>With Debian, ar -x will do the trick, but this does not seem to work 
>>in SuSE.
>>
>what about using the rpm --root /tmp/ -ivh package.rpm to shift the 
>install and then grab the files you need?

That may work, but I've never tried it.  I build a lot of RPMS, mostly
under the OpenPKG package management system for the last year or so, so I'm
much more inclined to add the necessary patches, and rebuild the RPM than
to pull out the individual pieces.

Bill
--
INTERNET:  bill at Celestial.COM   Bill Campbell; Celestial Software LLC
UUCP:              camco!bill   PO Box 820; 6641 E. Mercer Way
FAX:           (206) 232-9186   Mercer Island, WA 98040-0820; (206) 236-1676
http://www.celestial.com/

The question is, why are politicians so eager to be president?  What is
it about the job that makes it worth revealing, on national television,
that you have the ethical standards of a slime-coated piece of
industrial waste?
		-- Dave Barry, "On Presidential Politics"



More information about the Linux-users mailing list