IBM Support

Script to completely remove (uninstall) SPSS Statistics (macOS)

Troubleshooting


Problem

You removed SPSS Statistics by dragging the application to the Trash.  You see several preference files, extensions and custom dialogs remain. You need to completely remove everything "SPSS Statistics."

Resolving The Problem

Attached is a shell script for cleaning up SPSS Statistics installs (versions 19.0 through Current). To completely remove your installed version of the SPSS Statistics software, do the following:

1. Drag the Statistics <Version> folder from its installed location to the Trash, then empty the Trash.
2. Save the attached shell script and unzip it to a temporary location ( like "~/Downloads")
3. Open the Terminal.app (Finder -> Go -> Utilities -> Terminal)
4. Change the active directory to where you downloaded and extracted the shell script
$ cd ~/Downloads
5. Make sure the shell script has execute permission set:
$ chmod +x clean_script.sh
6. Know what your user ID is by typing the 'whoami' command:
$ whoami
Fred

In the example, the user ID is 'Fred'. Edit the shell script with the default 'nano' command-line text
editor. If you use the TextEdit.app GUI text editor, be sure to save the result a plain text.  This script does not work as Rich Text.

Alter the line USERID= to:

USERID=Fred

7. Run the shell script:
$ sudo ./clean_script.sh

[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLVMB","label":"IBM SPSS Statistics"},"ARM Category":[{"code":"a8m500000008Ty6AAE","label":"Statistics-\u003EInstallation"}],"ARM Case Number":"","Platform":[{"code":"PF017","label":"Mac OS"}],"Version":"All Versions"}]

Document Information

Modified date:
05 October 2023

UID

swg21693044