000014563 - How to extract the contents of a unix pkg file without installing it.

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000014563
Applies ToSun Solaris
IssueHow to extract the contents of a unix pkg file without installing it.
pkginfo only gives inforamation about what packages are installed
Resolution

The Solaris command pkgtrans can be used to extract the contents of a pkg file.  The following command shows how to extract the contents of any package file in the path to the temp directory.

vmplanet@opensolaris-vm:~$ pkgtrans *.pkg temp

The following packages are available:
  1  AXMa48sjsw     RSA Access Manager Agent 4.8 for Sun Java System Web Server
                    (sparc) 4.8

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:
Transferring <AXMa48sjsw> package instance

NotesMan page for pkgtrans http://docs.sun.com/app/docs/doc/816-5165/pkgtrans-1?a=view
Legacy Article IDa47925

Attachments

    Outcomes