|Skip Navigation Links|
|Exit Print View|
|Application Packaging Developer's Guide Oracle Solaris 11 Express 11/10|
File system format to datastream format
Datastream format to file system format
One file system format to another file system format
For more information, see How to Build a Package.
See How to Install a Package on a Standalone System or Server, if needed.
See How to Remove a Package, if needed.
To perform a basic translation, execute the following command:
$ pkgtrans device1 device2 [pkg-abbrev...]
If no package names are given, all packages residing in device1 are translated and written to device2.
Note - If more than one instance of a package resides on device1, you must use an instance identifier for the package. For a description of a package identifier, see Defining a Package Instance. When an instance of the package being translated already exists on device2, the pkgtrans command does not perform the translation. You can use the -o option to tell the pkgtrans command to overwrite any existing instances on the destination device and the -n option to tell it to create a new instance if one already exists. Note that this check does not apply when device2 supports a datastream format.
At this point you have completed the steps necessary to design, build, verify, and transfer your package. If you are interested in looking at some case studies, see Chapter 5, Case Studies of Package Creation. If you are interested in advanced package design ideas, see Chapter 6, Advanced Techniques for Creating Packages.