The pkgadd(1M) allows you to install the Sun Embedded Workshop software as a series of packages on the host workstation. You must have the superuser password for your system.
If you are installing from the CD-ROM, change to the directory containing the packages. For example: /dev/cdrom/part_number/chorus-family/pkgs. Then go to Step 3.
If you have downloaded the product, go to Step 1 of the following procedure.
Create a directory (extract_dir) where you have permission and enough space to extract all the files in the delivery.
The minimum amount of free space required is specified in the readme.html. For example:
$ mkdir extract_dir $ cd extract_dir |
Run the extract.sh script to extract all the packages:
$ sh download_dir/part_number/extract.sh -only |
For information on the options available with the extract.sh script, use the following command:
$ sh download_dir/part_number/extract.sh -help |
See "extract.sh Options" for more information.
The packages are extracted and stored in a directory structure similar to this: extract_dir/part_number/chorus-family/pkgs/SUNWxxxx
where family can be one of the following: mpc8xx, powerpc, usparc, or x86.
Install the packages using one of the following methods:
To install all the packages for a particular part number together, use one of the following commands:
For the downloaded product:
$ su Password: superuser_password # pkgadd -d extract_dir/part_number/chorus-family/pkgs all |
For the CD-ROM:
$ su Password: superuser_password # pkgadd -d /dev/cdrom/part_number/chorus-family/pkgs all |
To install one package at a time for a particular part number, use one of the following commands:
For the downloaded product:
$ su Password: superuser_password # pkgadd -d extract_dir/part_number/chorus-family/pkgs SUNWxxxx |
For the CD-ROM:
$ su Password: superuser_password # pkgadd -d /dev/cdrom/part_number/chorus-family/pkgs SUNWxxxx |
Set the environment variables.
You can perform the installation procedure as many times as necessary. This is especially useful if you want to install extra components after the initial installation.