This chapter discusses concepts regarding additional software product packaging. This chapter includes information on the following topics:
The installation packaging of each fileset in a product can be divided into three parts. These parts include the usr, root, and share parts. Although this can add further complexity to the understanding of the packaging, this parceling of a software product is necessary for the product to be used by diskless and dataless clients in AIX 5.1 and later. Because they are parceled, a product can be installed on one machine (called the server) and then be used remotely by other machines on a network (called the clients).
Note: The usr and root parts of a product are packaged in the same installable package.
Beginning in AIX 5L, you can not only install installp formatted packages, but also RPM and Install Shield Mutli-Platform (ISMP) formatted packages. Use the Web-based System Manager, SMIT, or the geninstall command to install and uninstall these types of packages. The geninstall command is designed to detect the format type of a specified package and run the appropriate install command.
The AIX 5L product media contains installp packages and RPM packages that are installed during a BOS installation. The installp packages are located in the following path:
/mount_point/installp/ppc
The RPM packages are located in the following path:
/mount_point/RPMS/ppc
If you have media that contains ISMP packages for AIX 5L, the ISMP packages are located in the following path:
/mount_point/ISMP/ppc
If you using the geninstall command to install RPM or ISMP packages, use the prefix type to designate to the geninstall command the type of package you are installing. In AIX 5L, the package prefix types are the following:
I: | installp format |
R: | RPM format |
J: | ISMP format |
For example, to install the cdrecord RPM package and the bos.games installp package, type the following:
# geninstall -d/dev/cd0 R:cdrecord I:bos.games
The geninstall command detects that the cdrecord package is an RPM package type and runs the rpm command to install cdrecord. The geninstall command then detects that bos.games is an installp package type and runs the installp command to install bos.games. The process for uninstallation is similar to the installation process.
In Web-based System Manager and SMIT, you do not need to specify the prefix type if you are selecting the packages from a software list.
The Web-based System Manager and the SMIT Install application look for bundles in /usr/sys/inst.data/sys_bundles and in /usr/sys/inst.data/user_bundles. The sys_bundles location is typically reserved for system-defined bundles (those which come with AIX). Users can create their own bundle files in the user_bundles directory.
The bundle definition file name must end in .bnd, because the AIX installation interfaces that process bundles recognize only bundle files that end in .bnd. Use any editor to create bundle files, which can contain comments and fileset names. Lines beginning with the pound sign (#) are recognized as comments and are ignored by the bundle processing code. When you have completed your list of filesets, save the file and make sure the file has the appropriate read permission. Invoking a bundle installation interface displays your bundle without the .bnd extension.
The following are examples of the predefined bundles:
You may also need to install the Graphics Bundle.
Some system bundles might refer to installation images that are spread across multiple media. If you see errors indicating that filesets could not be found on the media you are using, insert the media containing the missing filesets and retry the bundle installation. Some system bundles contain the following comment:
# MEDIA = "CD_Location"
This is used to designate the location of the filesets or packages in the bundle. For example, the Netscape Bundle might contain the following information:
# Install a browser # MEDIA = "Expansion Pack" I:Netscape.communicator
This informs the geninstall command that the Netscape.communicator installp package is located on the Expansion Pack CD.
The system bundles are located in the /usr/sys/inst.data/sys_bundles directory. To list the system bundles, type the following:
ls /usr/sys/inst.data/sys_bundles/*.bnd
You can also use the SMIT list_bundle fast path to list the system bundles.