Wolfram Computation Meets Knowledge

How do I set up a C++ compiler on Linux?

Read this article in: Deutsch, Español, Français, 日本語, 한국어, Português, Русский, 中文

In order to use System Modeler, you need to have a C++ compiler installed, and System Modeler must be able to access it. The supported compilers for Linux are:

  • G++ (recommended)
  • Clang

On Ubuntu and some other Linux distributions, G++ and the necessary tools can be installed by running:

 sudo apt-get install build-essential 
  1. Make sure the C++ compiler of your choice is installed.
  2. Start System Modeler. System Modeler will detect the compiler and choose it as the default. You may want to verify that System Modeler succeeded.

    If the compiler was not detected, please try setting it up manually.


Is this article helpful?

Any comments?

Thank you for your feedback.


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

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)

8am–5pm US Central Time

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

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