Hi,
Does any one know how to extract the contents of an RPM without installing it?
The reason I want to do this is I have an RPM that I want to install into a customised location rather than the defaults that are scripted in the RPM install script.
Douglas Willis ddw@bas.ac.uk wrote:
Does any one know how to extract the contents of an RPM without installing it?
ISTR rpmextr, but alien will also probably do the conversion for you.
The reason I want to do this is I have an RPM that I want to install into a customised location rather than the defaults that are scripted in the RPM install script.
Isn't there an option to RPM to install under another root?
MJR
On 14 Aug 2002, Douglas Willis wrote:
Does any one know how to extract the contents of an RPM without installing it?
rpm2cpio thingy.rpm | (cd where/to/splat/it ; cpio -div)
The reason I want to do this is I have an RPM that I want to install into a customised location rather than the defaults that are scripted in the RPM install script.
rpm --root ??? Puts the package under that, but also needs the rpm database in that tree too.
-- Douglas Willis (ddw@nerc-bas.ac.uk) British Antarctic Survey High Cross, Madingley Road Cambridge, CB3 0ET, United Kingdom tel: +44 1223 221400, fax: +44 1223 362616
B.A.S. ? Does Alison George still work there? Bill says "Hiya!!!"
------------------------------------------------------------------------- W.B.Hill, Flat 4 \ Email: wbh@uea.ac.uk "Give a man a fire and he will 10a Mill Hill Rd \ Tel: (+44) 7710 781584 \ be warm for a day: set a man Norwich. NR2 3DP \ Fax: (+44) 8700 547508 \ on fire and he will be warm *United Kingdom* \ Web: http://www.wbh.org \ for the rest of his life." ------------------------------------------------------------------------- PGP-Fingerprint: B3 6F 2E D6 - B6 48 F1 FB -*- 7C AA 28 0C - 96 61 9A B5
On Wed, Aug 14, 2002 at 03:52:12PM +0100, Douglas Willis wrote:
Does any one know how to extract the contents of an RPM without installing it?
The Midnight Commander ("mc" or "gmc" for the GNOME version) allows you to explore the contents of RPMs nice and easily (and indeed debs and tar.gzs and all manner of things).
J.
Thanks for your help.
On Wed, 2002-08-14 at 15:52, Douglas Willis wrote:
Hi,
Does any one know how to extract the contents of an RPM without installing it?
The reason I want to do this is I have an RPM that I want to install into a customised location rather than the defaults that are scripted in the RPM install script.
-- Douglas Willis (ddw@nerc-bas.ac.uk) British Antarctic Survey High Cross, Madingley Road Cambridge, CB3 0ET, United Kingdom tel: +44 1223 221400, fax: +44 1223 362616
main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!