UNIX/IRAF Site Manager's Guide

UNIX/IRAF Site Manager's Guide

2.3. Tuning Considerations

2.3.1. Stripping the system to reduce disk usage

If the system is to be installed on multiple CPUs, or if a production version is to be installed on a workstation, it may be necessary or desirable to strip the system of all non-runtime files to save disk space. This equates to deleting all the sources and all the reference manuals and other documentation, excluding the online manual pages. A special utility called rmfiles (in the SOFTOOLS package) is provided for this purpose. It is not necessary to run rmfiles directly to strip the system. The preferred technique is to use "mkpkg strip" as in the following example (this may be executed from either the host system or from within IRAF).

% cd $iraf
% mkpkg strip
This will preserve all runtime files, permitting use of the standard system as well as user software development. Note that only the IRAF core system is stripped, i.e., if you want to strip any external layered software products, such as the NOAO package, a mkpkg strip must be executed separately for each - cd to the root directory of the external package first. A tape backup of a system should always be made before the system is stripped; keep the backup indefinitely as it may be necessary to restore the sources in order to, e.g., install a bug fix or add-on software product.