Skip to main content

Uninstalling HEASoft

The HEASoft configuration is based on the GNU model and does not have a built-in uninstall mechanism. The installed files, created during the "hmake install" step of the build, are co-located with the source code by default. In order to uninstall HEASoft from a computer, the heasoft directory may simply be removed.

rm -rf /path/to/heasoft-6.36

Prefix option

When configuring HEASoft, one of the possible options is "--prefix". This places the installed files, which are created during the "hmake install" step of the build, in a location specified by the user. This may be in a separate location from the source code.

cd /path/to/heasoft-6.36/BUILD_DIR ./configure --prefix=/software/heasoft-6.36

In this case, the installed directory should also be removed.

rm -rf /path/to/heasoft-6.36 rm -rf /software/heasoft-6.36