Sun/IRAF V2.11 Site Manager's Guide
Sun/IRAF V2.11 Site Manager's Guide
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 and be sure to include the "-p pkg" switch to mkpkg so the proper
environment is loaded. For example, to strip the NOAO package:
% cd $iraf/noao
% mkpkg -p noao strip
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.