Wolfram Computation Meets Knowledge

How do I set up the Wolfram Engine on Linux?

To run the Wolfram Engine on your machine, you need to get a free license, install the program, then activate the product.

You need a Wolfram ID to activate the Wolfram Engine. If you do not have one already, you must create one.

If you are connecting to the internet via a proxy server, WolframScript needs suitable proxy information in order to be able to activate the Wolfram Engine. WolframScript uses the operating system’s proxy settings, which, for example, can be set by executing (in a terminal):

export https_proxy=https://your.proxy.server:port/

Setup Instructions

  1. Quit any Wolfram products that are running on your machine.
  2. In a web browser, visit https://www.wolfram.com/engine.
  3. Click the red Linux button. The installation script will be downloaded to the default downloads folder for your browser, and the Thank You page appears.
  4. Click the red Get Your License button.
  5. If prompted, sign in with your Wolfram ID and password. The Free Developer License Agreement page appears.
  6. Read the Free Wolfram Engine for Developers Terms and Conditions of Use and select the checkbox to agree.
  7. Click the Get License button. The license for the Wolfram Engine is created and associated with your Wolfram ID.
  8. Open a terminal and change the directory to where the installer is located. For example, if the installer is located in your Downloads folder, run:
     cd Downloads 

    This changes the directory to your Downloads folder. If you wish to verify that the installer file is in this folder, use the command ls.

  9. The installer needs administrative privileges to run. Use the command sudo to run the installer script. For example, if the installer is called “installer.sh”, run:
    sudo bash installer.sh

    sudo asks you to enter the administrative password on the machine. After providing the administrative password, the installer starts and the Installation Directory prompt appears.

  10. Wolfram Engine 12.3.1 for LINUX Installer Archive
    Verifying archive integrity. 
    Extracting installer...............
    ------------------------------------------------------------------------
                            Wolfram Engine 12.3 Installer 
    ------------------------------------------------------------------------
    Copyright (c) 1988-2021 Wolfram Research, Inc. All rights reserved.
    WARNING: Wolfram Engine is protected by copyright law and international
    treaties. Unauthorized reproduction or distribution may result in severe
    civil and criminal penalties and will be prosecuted to the maximum extent
    possible under law.
    Enter the installation directory, or press Enter to select
    /usr/local/Wolfram/WolframEngine/12.3:>
  11. Press Enter to install the Wolfram Engine to the default directory. Otherwise, type the full file path to your desired installation directory and press Enter.

    The installer copies the files to the installation directory. The Wolfram Engine Scripts installation directory prompt appears.

    Type the directory path in which the Wolfram Engine script(s) will be created,
    or press Enter to select /usr/local/bin:> 
  12. Press Enter to install Wolfram Engine Scripts to the default directory. Otherwise, type the full file path to your desired installation directory and press Enter.

    The scripts are installed, then WolframScript system integration is installed.

  13. In a terminal, launch WolframScript with the command wolframscript. If WolframScript is not able to find the correct Wolfram Engine kernel, run WolframScript with the appropriate command-line options.
  14. Enter your Wolfram ID and the associated password to complete activation.
    The Wolfram Engine requires one-time activation on this computer.
    Visit https://wolfram.com/developer-license to get your free license.
    Wolfram ID: user@email.com
    Password:
    

The Wolfram Engine is now activated. You can use it through WolframScript or through Language Client Libraries.

Is this article helpful?
Yes
No

Any comments?

Thank you for your feedback.

Submit

Contact Support

Whether you have a question about billing, activation or something more technical, we are ready to help you.

1-800-WOLFRAM (+1-217-398-0700 for international callers)

Customer Support

Monday–Friday
8am–5pm US Central Time

  • Product registration or activation
  • Pre-sales information and ordering
  • Help with installation and first launch

Advanced Technical Support (for eligible customers)

Monday–Thursday
8am–7pm US Central Time

Friday
8:30–10am & 11am–5pm US Central Time

  • Priority technical support
  • Product assistance from Wolfram experts
  • Help with Wolfram Language programming
  • Advanced installation support