Skip to Content
Sun and Oracle
Channel Sun
How to Buy
Log In
English
docs.sun.com Home
>
Solaris 9 8/03 Software Developer Collection
> Application Packaging Developer's Guide
Application Packaging Developer's Guide
Search only this book
Search Help
Contained Within
Solaris 9 8/03 Software Developer Collection
Solaris 9 4/03 Software Developer Collection
Solaris 9 12/02 Software Developer Collection
Solaris 9 Software Developer Collection
Solaris 9 Software Developer Collection
Find More Documentation
Browse Documentation Titles
Browse Product Documentation
Featured Support Resources
Sun Training Courses
BigAdmin System Admininstration Portal
Sun Support Center
Sun Solve
Download this book in PDF (781 KB)
Application Packaging Developer's Guide
Index
A
B
C
D
E
F
G
I
L
M
O
P
R
S
T
U
V
Book Information
Preface
Who Should Use This Book
How This Book Is Organized
Related Books
Accessing Sun Documentation Online
Typographic Conventions
Shell Prompts in Command Examples
1. Designing a Package
Where to Find Packaging Tasks
What Are Packages?
Package Components
Things to Think About Before Building a Package
Packaging Commands, Files, and Scripts
2. Building a Package
The Process of Building a Package Task Map
Package Environment Variables
Creating a pkginfo File
Defining a Package Instance
Defining a Package Name (NAME)
Defining a Package Category (CATEGORY)
How to Create a pkginfo File
Organizing a Package's Contents
How to Organize A Package's Contents
Creating a prototype File
The Format of the prototype File
Creating a prototype File From Scratch
Creating a prototype File With the pkgproto Command
Fine-Tuning a prototype File Created With the pkgproto Command
Adding Functionality to a prototype File
How to Create a prototype File Using the pkgproto Command
Building a Package
Using the Simplest pkgmk Command
The pkgmap File
How to Build a Package
3. Enhancing the Functionality of a Package
Creating Information Files and Installation Scripts Task Map
Creating Information Files
Defining Package Dependencies
How to Define Package Dependencies
Writing a Copyright Message
How to Write a Copyright Message
Reserving Additional Space on a Target System
How to Reserve Additional Space on a Target System
Creating Installation Scripts
Script Processing During Package Installation
Script Processing During Package Removal
Package Environment Variables Available to Scripts
Obtaining Package Information for a Script
Exit Codes for Scripts
Writing a request Script
How to Write a request Script
Gathering Data With the checkinstall Script
How to Gather File System Data
Writing Procedure Scripts
How to Write Procedure Scripts
Writing Class Action Scripts
How to Write Class Action Scripts
4. Verifying and Transferring a Package
Verifying and Transferring a Package Task Map
Installing Software Packages
The Installation Software Database
Interacting with the pkgadd Command
Installing Packages on Standalones or Servers in a Homogeneous Environment
How to Install a Package on a Standalone or Server
Verifying the Integrity of a Package
How to Verify the Integrity of Your Package
Displaying Additional Information About Installed Packages
The pkgparam Command
How to Obtain Information With the pkgparam Command
The pkginfo Command
How to Obtain Information With the pkginfo Command
Removing a Package
How to Remove a Package
Transferring a Package to a Distribution Medium
How to Transfer Your Package to a Distribution Medium
5. Package Creation Case Studies
Soliciting Input From the Administrator
Creating a File at Installation and Saving It During Removal
Defining Package Compatibilities and Dependencies
Modifying a File Using Standard Classes and Class Action Scripts
Modifying a File Using the sed Class and a postinstall Script
Modifying a File Using The build Class
Modifying crontab Files During Installation
Installing and Removing a Driver With Procedure Scripts
Installing a Driver Using the sed Class and Procedure Scripts
6. Advanced Package Creation Techniques
Specifying the Base Directory
Accommodating Relocation
Supporting Relocation in a Heterogeneous Environment
Making Packages Installable Remotely
Patching Packages
Upgrading Packages
Creating Class Archive Packages
Glossary
News Center
About Sun
Contact Sun
Terms of Use
Privacy
Copyright
1994-2009
Sun Microsystems, Inc.