SPSS · 2022年10月8日

Activating SPSS license from the command prompt (Authorized User)

How To

Summary

Installing SPSS license from the command prompt (licenseactivator)
Environment: Windows, MacOS

Objective

This instruction is provided only for Authorized User license. For Concurrent User instruction please follow the instruction described in manual.

licenseactivator allows you to authorize end-user computers without using the License Authorization Wizard.

Steps

Using licenseactivator with Authorization Codes

  1. Windows:
    Open a command prompt as administrator and change directory to  IBM SPSS product installation directory. 
    Mac OS
    Click on the “Go” menu and open “Utilities”. Inside the Utilities folder, find the “Terminal” application. Double-click on the Terminal application to open it.
    Change directory to  IBM SPSS product installation directory using “cd + path” command. 

    If you accepted the default location on:
    Windows, check the C:\Program Files\IBM\SPSS\<product>\<version>\ folder
  2. How to locate the installation directory of an IBM SPSS desktop product on Windows operating systems
    Example of the command: cd C:\Program Files\IBM\SPSS\Statistics\25  Mac OS,
    check the <installation directory>/<product>.app/Contents/bin 
    How to locate the installation directory of an IBM SPSS desktop product on MacOS operating systems?
    Example of the command: cd /Applications/IBM/SPSS/Statistics/25/SPSSStatistics.app/Contents/bin  Please note that the installation path for the version 27 has changed and looks as below cd /Applications/IBM\ SPSS\ Statistics\ 27/Resources/Activation/
  3. Once you navigated to installation directory, perform activation
  4. Windows licenseactivator <your-code>  Mac OS sudo ./licenseactivator <your-code>  where <your-code> is your authorization code or license code.

Note:

When using authorization code, licenseactivator connect to the Internet, so you may need to specify proxy information (instruction below)

When using license codes, licenseactivator does not connect to the Internet, so you do not need to specify proxy information.

Example of the activation from the command prompt.

cmd_activation

___________________________________________

The proxy settings are optional, but you may need them if your computer is behind a proxy. Which

proxy settings are needed depend on your specific proxy configuration. You might need all of them.

PROXYHOST The server name or IP address of the proxy host

PROXYPORT The port number for connecting to the Internet through the proxy

PROXYUSER If required, the user ID for the proxy

PROXYPASS If required, the password associated with the user ID

licenseactivator <your-code> [PROXYHOST=proxy-hostname][PROXYPORT=proxy-port-number][PROXYUSER=proxy-userid][PROXYPASS=proxy-password]

Related articles:

Authorized User License Administrator’s Guide
What is the difference between an authorization code and a license code?