From the config menu, select the option 9 - clean MIDAS. You will get a menu of choices, and for any option you select, confirmation will be requested before it starts removing files:
MIDAS DELETE MENU: ================== 1 - Delete only object files. 2 - Delete object and source files. 3 - Delete object, source files and libraries. 4 - Delete executable files.
Option 1 deletes all object files (.o) under the MIDAS release directory (upto 20% of MIDAS size) but they do not compromise MIDAS performance. It's the safest option.
Option 2 deletes all object and source files (.o .c and .for) under
the MIDAS release directory (upto 45% of MIDAS size). They
are not needed for MIDAS performance, however you will not be
able to install new patches without sources. You still can compile
and link your own MIDAS code.
NOTE: DO NOT CHOSE this option on IBM/AIX systems, it will make MIDAS
unusable because libmidas.a is a shared library and is needed by all
executables.
Option 3, like Option 2, removes also all static library files (.a) (upto 55% of MIDAS size). Since MIDAS uses shared libraries the static ones are not required for development with MIDAS.
Option 4, removes only executables files (.exe) for the optional package categories: applic, stdred and contrib. The core of MIDAS remains, you only remove packages you do not need anymore. Source files remain so executables could be regenerated if necessary.
If what you really want is to reduce your MIDAS installation to the minimun but still operational expresion, you could also use our cleanmidas script used to generate the only binaries releases of MIDAS (it is like Option 3 plus other unnecessary files). You use the script in this way:
% cd /midas/98NOV
% ./system/unix/cleanmidas