$ whatis pkgtrans

pkgtrans - translate package format

NOTE: These commands are for Oracle Solaris platform and was provided here for advanced users as a bonus reading.


Examples:


     Example 1 Translating All Packages on the Floppy Disk
     The following example translates all packages on the  floppy
     drive /dev/diskette and places the translations on /tmp:
       example% pkgtrans /dev/diskette /tmp all
     Example 2 Translating Packages on /tmp
	SunOS 5.11          Last change: 30 Oct 2007                    3
	User Commands       pkgtrans(1)

     The following example translates packages pkg1 and  pkg2  on
     /tmp  and  places their translations (that is, a datastream)
     on the 9track1 output device:

     example% pkgtrans /tmp 9track1 pkg1 pkg2
     Example 3 Translating Packages on /tmp
     The following example translates pkg1 and pkg2 on  /tmp  and
     places them on the diskette in a datastream format:

     example% pkgtrans -s /tmp /dev/diskette pkg1 pkg2

     Example 4 Creating a Signed Package

     The following example creates a signed package from pkg1 and
     pkg2,  and  reads  the  password  from the $PASS environment
     variable:

     example% pkgtrans -sg -k /tmp/keystore.p12 -a foo \
           -p env:PASS /tmp /tmp/signedpkg pkg1 pkg2

     Example 5 Translating a Package Datastream

     The following example translates a package datastream into a
     file system format package:

     example%  pkgtrans /tmp/pkg1.pkg ~/tmp pkg1

Please click on " man pkgrm. " to see the Manual Page for this command.