SPARCbook Portable Workstation User Guide
13-7
Installing and Using Applications
Customizing the Operating System
#
pkgadd -d /cdrom/Solaris_2.5.1 packageA
Follow the displayed instructions to complete the installation
procedure.
You can add several packages at one time by specifying the required
package names separated with a space. For example:
#
pkgadd -d /cdrom/Solaris_2.5.1 packageA
packageB
Note
The name of the directory
Solaris_2.5.1
differs between versions of the operating
system. You can ascertain the correct name by listing the contents of the CD-ROM.
That is:
ls /cdrom
..
Displaying Package Information
To display information about all packages that are already installed on
your SPARCbook, type:
#
pkginfo
Information about the installed packages is displayed on your screen.
Alternatively, to display information about specific packages, you can
pipe the output of
pkginfo
into a
grep
command. For example, the
following command could be used to display the NCE packages
installed on your SPARCbook:
#
pkginfo | grep nce
Removing Packages
To remove packages, use the
pkgrm
command. For example:
#
pkgrm packageA
You can remove several packages at one time, by specifying the
package names separated with spaces. For example:
#
pkgrm packageA packageB packageC
S3UG4_Book Page 7 Friday, August 8, 1997 11:37 am