This page has been translated automatically.
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Usage Examples
API Reference
Integration Samples
Usage Examples
C++ Plugins
Migrating to UNIGINE 2.0
C++ API Migration
Migrating from UNIGINE 2.0 to UNIGINE 2.1
This version of documentation is OUTDATED! Please switch to the latest one.

Linux Development Environment

To start working with the Unigine engine on the Linux platform you should install the Unigine SDK and additional software.

Prepare the Environment for Linux

Install Unigine SDK

  • If you downloaded a Unigine 2 SDK binary archive:
    1. Extract the archive into a target directory.
    2. Run
  • If you downloaded a Unigine SDK Browser, execute it and then install Unigine 2 SDK.
You may also need to set the following environment variables:
  • Add to $PATH variable locations of the following directories: <UnigineSDK>/externs/bin;<UnigineSDK>/lib;<UnigineSDK>/bin.
  • Add to $LD_LIBRARY_PATH variable locations of the following directories: <UnigineSDK>/externs/bin; <UnigineSDK>/lib.
Re-login to make the changes in ~/.profile take effect.
Make sure that your terminal takes environment variables into account.
From the Terminal main menu, choose Edit > Profile Preferences > Title and Command and check Run command as a login shell box.

Install Mono

To work with Mono on the Linux platfrom, Mono should be installed this way.

If you install Mono in a different way, the engine may not work correctly!

Additional Software

  • Linux 2.6.x
  • GCC 4.x.x
  • Python 2.7
  • SCons 2.2.0
  • distcc (optional)
  • ccache (optional)

To install all required Debian/Ubuntu packages, use the following:

Shell commands
sudo apt-get install linux-headers-2.6 gcc g++ make scons ccache libgl1-mesa-dev libxrandr-dev libxrandr:i38 libxinerama-dev libopenal1 libxrender-dev libxext-dev libc6-dev libx11-dev
After that, perform the following to avoid errors during the engine recompilation:
Shell commands
username@pc-name:~$ cd /usr/lib/x86_64-linux-gnu
username@pc-name:~/usr/lib/x86_64-linux-gnu$ sudo ln -s

For 64-bit Debian/Ubuntu, install additional packages to enable 32-bit cross-compilation:

Shell commands
sudo apt-get install gcc-multilib lib32gcc1 ia32-libs ia32-libs-dev lib32stdc++6 libc6-i386
Last update: 2017-07-03
Build: ()