VMS/IRAF Installation and Site Manager's Guide

VMS/IRAF Installation and Site Manager's Guide

9.5. Installing and maintaining layered software

The procedures for installing layered software products are similar to those used to install the core IRAF system, or update a package. Layered software may be distributed in source only form, or with binaries. The exact procedures to be followed to install a layered product will in general be product dependent, and should be documented in the installation guide for the product.

In brief, the procedure to be followed should resemble the following:

As always, there are some little things to watch out for. When using mkpkg on a layered package, you must give the name of the package being updated, plus the names of any other external packages used to build the target package, e.g.,
cl> mkpkg -p foo update
where foo is the name of the package being update, e.g., "noao", "local", etc. The -p flag can be omitted by defining PKGENV as a VMS logical name.

Once installed and configured, a layered product may be deinstalled merely by archiving the package directory tree, deleting the files, and commenting out the affected lines in hlib$extern.pkg. With the BINs already configured reinstallation is a simple matter of restoring the files to disk and editing the extern.pkg file.