Quoting Joon Guillen ([EMAIL PROTECTED]):
> On Fri, 2002-06-21 at 18:21, Paolo Alexis Falcone wrote:

>> I'm not sure (I haven't explored rpms as I did with debs), but I just
>> use Midnight Commander, peek at the files contained in the rpm (it's
>> just another archive format with special rules anyway) then copy the
>> wanted file inside to my place of choice. A lazy solution anyway... When
>> I get in the "mood" (of being a masochist ;) I try extracting all the
>> contents of the debian package (there's a saner way, but I've yet to
>> RTFM what it is...)
> 
> MC can do that eh?  I'm using gentoo right now (the Konqueror file
> browser is quite heavy on memory/CPU usage, it seems), maybe it can
> browse packages as well.
> 
> Thanks chief!

Thanks from me, too!  I hadn't known that.  I knew that mc could look
inside tarballs, but didn't know that it could peek inside "ar"
archives (which is what .debs are).  

By the way, there's a perl script around called rpm2cpio to convert RPMs
to straight cpio archives.  I have an old version at
http://linuxmafia.com/pub/linux/utilities-general/ , but it needs to be
updated slightly to work on the latest version of that format.
Actually, it _works_ on v4 RPM files, but only if you comment out the
two lines beginning with the "die" keyword.


_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to