You can install multiple packages from the command line by typing a list of pkgids separated by spaces. The following example shows an edited example of installation of SearchIt 2.0 software from the /cdrom/cdrom0 directory:
# pkgadd -d /cdrom/cdrom0 SUNWssser SUNWsssra SUNWsssrb SUNWsssrc
SUNWsssrd SUNWssstr
Processing package instance <SUNWssser> from </cdrom/cdrom0>
SearchIt Text Messages and Handbook
(sparc) 2.Ø
(C) 1992, 1993 Sun Microsystems, Inc. Printed in the United States of
America. 255Ø Garcia Avenue, Mountain View, California, 94043-11ØØ
U.S.A.
(Additional copyright information not shown)
Using </opt> as the package base directory.
## Processing package information.
## Processing system information.
## Verifying package dependencies.
WARNING:
The <SUNWsssra> package SearchIt Runtime 1 of 3 is a prerequisite
package and should be installed.
Do you want to continue with the installation of this package [y,n,?] y
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
The following files are already installed on the system and are being
used by another package:
/opt <attribute change only>
Do you want to install these conflicting files [y,n,?,q] y
## Checking for setuid/setgid programs.
Installing SearchIt Text Messages and Handbook as <SUNWssser>
## Installing part 1 of 1.
/opt/SUNWssoft/SearchIt/share/locale/C/LC_HELP/Home.info
0/opt/SUNWssoft/SearchIt/share/locale/C/LC_HELP/Index.info
/opt/SUNWssoft/SearchIt/share/locale/C/LC_HELP/Search.info
/opt/SUNWssoft/SearchIt/share/locale/C/LC_HELP/SearchIt.handbook
/opt/SUNWssoft/SearchIt/share/locale/C/LC_HELP/SearchIt.info
/opt/SUNWssoft/SearchIt/share/locale/C/LC_HELP/Viewer.info
/opt/SUNWssoft/SearchIt/share/locale/C/LC_MESSAGES/SUNW_SEARCHIT_
LABELS.po
/opt/SUNWssoft/SearchIt/share/locale/C/LC_MESSAGES/SUNW_SEARCHIT_
MESSAGES.po
/opt/SUNWssoft/SearchIt/share/locale/C/LC_MESSAGES/SUNW_SEARCHIT_
XVBROWSER.po
[ verifying class <none> ]
Installation of <SUNWssser> was successful.
Processing package instance <SUNWsssra> from </cdrom/cdromØ>
SearchIt Runtime 1 of 3
(sparc) 2.Ø
(Copyright information not shown)
Using </opt> as the package base directory.
## Processing package information.
## Processing system information.
3 package pathnames are already properly installed.
## Verifying package dependencies.
WARNING:
The <SUNWsssrb> package "SearchIt Runtime 2 of 3" is a prerequisite
package and should be installed.
WARNING:
The <SUNWsssrc> package "SearchIt Runtime 3 of 3" is a prerequisite
package and should be installed.
Do you want to continue with the installation of this package [y,n,?] y
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
Installing SearchIt Runtime 1 of 3 as <SUNWsssra>
## Installing part 1 of 1.
/opt/SUNWssoft/SearchIt/README
/opt/SUNWssoft/SearchIt/bin/auto_index
/opt/SUNWssoft/SearchIt/bin/browseui
/opt/SUNWssoft/SearchIt/bin/catopen
/opt/SUNWssoft/SearchIt/bin/collectionui
(Additional files not shown)
[ verifying class <none> ]
Installation of <SUNWsssra> was successful.
Processing package instance <SUNWsssrb> from </cdrom/cdromØ>
SearchIt Runtime 2 of 3
(sparc) 2.Ø
(Copyright information not shown)
Using </opt> as the package base directory.
## Processing package information.
## Processing system information.
4 package pathnames are already properly installed.
## Verifying package dependencies.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.
Installing SearchIt Runtime 2 of 3 as <SUNWsssrb>
## Installing part 1 of 1.
/opt/SUNWssoft/SearchIt/lib/fultext/fultext.ftc
/opt/SUNWssoft/SearchIt/lib/fultext/fultext.stp
/opt/SUNWssoft/SearchIt/lib/libft.so.1
[ verifying class <none> ]
(Additional package installations not shown)