Use the swinstall program to install DB2 for HP-UX. To install, perform the following steps:
mkdir /cdrom /usr/sbin/mount /dev/dsk/c0t2d0 /cdrom
where /cdrom is the CD-ROM mount directory.
swinstall -x autoselect_dependencies=true
This opens the Software Selection window and the Specify Source window.
Note: | Ignore the error message similar to the following:
The software "DB2V5CAE r=5.0.0,a=HP-UX_B.10.10_700/800,v=IBM" was successfully marked, but it depends on the following software items which could not be found in the source. However, these items may already be in the target. This will be checked during the Analysis Phase: OS-Core.CMDS-AUX,r>=B.10.10,a=HP-UX_?.10.??_7800,v=HP OS-Core.CMDS-MIN,r>=B.10.10,a=HP-UX_?.10.??_7800,v=HP SOE.SOE,r>=B.10.10,a=HP-UX_?.10.??_7800,v=HP |
In addition to the software you just marked, other software was automatically marked to resolve dependencies. This message will not appear again.
View the Install window to read processing data while the software is being installed, until the Status field indicates Ready and the Note Window opens. The swinstall program loads the fileset, and runs the control scripts for the fileset.
The HP-UX operating system provides detailed help for swinstall. For help, type:
man swinstall
To view DB2 product documents on-line, HTML versions of these documents are provided for installation. These documents are translated into several languages. However, not every manual in the DB2 product library is translated into multiple languages. The English version of every manual is available in HTML format.
The DB2V5HTML product includes filesets for all the DB2 product documentation. A separate fileset exists for each language. For example, the fileset name for the DB2 product library in English is DB2V5HTML.en_US. For a complete list of filesets in the DB2V5HTML product, see Appendix C. "Contents of the DB2 Products".
To install the DB2 Product Library (HTML) filesets, do the following:
swinstall -s /cdrom/db2
This will display a list of all the filesets in the DB2V5HTML product.
For example, to install the DB2 product Library in English, highlight the following fileset:
en_US DB2 Product Library (HTML) - English
This will install the compressed-tar files for the DB2 documents in the /opt/IBMdb2/V5.0/doc/<lang>/html directory, where <lang> is the language/locale identifier.
/opt/IBMdb2/V5.0/doc/db2insthtml lang
where lang is the language/locale identified. For example, lang=en_US for English. For valid language/locale identifiers, see Table 51.
file:/opt/IBMdb2/V5.0/doc/en_US/html/index.htm
To recover some disk space, you may want to remove the compressed-tar files for DB2 books in HTML format. It is recommended that you do not just remove the compressed-tar HTML files. Instead, you should remove the fileset for the DB2 Product Library.
After the fileset is removed, only compressed-tar files will be removed. You will still be able to view the online DB2 books.
While DB2 Product Message documents are translated into several languages, the English language DB2 Product Messages are always installed. To install the DB2 Product Messages in other locales, you have to install one or more filesets in the DB2V5MSG product.
The DB2V5MSG product includes a separate fileset for every locale in which DB2 Product Messages are available. There is no fileset for the English (en_US.iso88591 or en_US.roman8) locale since these messages are installed with the base product. For example, to install the DB2 Product messages in the fr_FR.iso88591 locale, you need to install the fileset DB2V5MSG.fr_FR. For a complete list of filesets in the DB2V5MSG product, see Appendix C. "Contents of the DB2 Products".
To install DB2 Product Message filesets, do the following:
swinstall -s /cdrom/db2
This will display a list of all the filesets in the DB2V5MSG product.
For example, to install the DB2 Product Library in the fr_FR.iso88591 locale, highlight the following fileset:
fr_FR DB2 Product Library (HTML) - fr_FR