The recommended way to install ENIGMA on Debian and Ubuntu Linux is by using
the source code. Debian users should follow the instructions below.
Arch Linux users can follow the Install:Arch_Linux.
Users who use Opensuse and/or its derivatives can follow this link
[Opensuse_Setup].
On Ubuntu simply copy and paste this code into a file called "install.sh" and
run it. Debian users should remove the add-apt-repository command. If it
doesn't run make sure you have given it permission to be run as an executable.
//#!/bin/bash
cd ~/
echo "Installing dependencies..."
sudo apt-get install wget git g++ make build-essential libprotobuf-dev
protobuf-compiler zlib1g-dev libglew-dev libglm-dev libpng-dev libglu1-mesa-
dev libopenal-dev libfluidsynth-dev libogg-dev libalure-dev libvorbisfile3
libvorbis-dev libbox2d-dev libdumb1-dev libsdl2-dev libfreetype6-dev libffi-
dev libx11-dev libxrandr-dev libxinerama-dev libepoxy-dev default-jre default-
jdk pkg-config rapidjson-dev libyaml-cpp-dev libboost-dev libboost-filesystem-
dev libboost-system-dev libboost-program-options-dev libboost-iostreams-dev
pulseaudio libpugixml-dev zenity kdialog
echo "Downloading Enigma..."
git clone git://github.com/enigma-dev/enigma-dev.git
cd enigma-dev
echo "Downloading easy startup script..." wget
https://pastebin.com/raw/aBAU4j3C -O start.sh
sed -i -e 's/\r$//' start.sh
echo "Correcting permissions..."
chmod +x start.sh
chmod +x install.sh
echo "Installing..."
./install.sh
echo "Rebuilding compiler..."
make clean
make
echo "Done, to start Enigma just run ~/enigma-dev/start.sh" </syntaxhighlight>
Prerequisites : GNU GCC G++ Compiler, Revision control#Git, [Java]
The following dependencies will be installed for ENIGMA and the games it creates :
sudo apt-get install wget git gcc-9 g++-9 make build-essential libprotobuf-dev protobuf-compiler protobuf-compiler-grpc
libgrpc-dev libgrpc++ zlib1g-dev libglew-dev libglm-dev libpng-dev libglu1-mesa-dev libopenal-dev
libfluidsynth-dev libogg-dev libalure-dev libvorbisfile3 libvorbis-dev libbox2d-dev libdumb1-dev libsdl2-dev
libfreetype6-dev libffi-dev libx11-dev libxrandr-dev libxinerama-dev libepoxy-dev default-jre default-jdk
pkg-config rapidjson-dev libyaml-cpp-dev libboost-dev libboost-filesystem-dev libboost-system-dev
libboost-program-options-dev libboost-iostreams-dev pulseaudio libpugixml-dev zenity kdialog curl
These may be needed to be installed on end-users' computers that run your games :
sudo apt-get install zlib1g-dev libglew-dev libglm-dev libpng-dev libglu1-mesa-dev libopenal-dev libfluidsynth-dev libogg-dev
libalure-dev libvorbisfile3 libvorbis-dev libbox2d-dev libdumb1-dev libsdl2-dev libfreetype6-dev libffi-dev
libx11-dev libxrandr-dev libxinerama-dev zenity kdialog
End-users' won't need all of those dependencies, depending on the features used...
Please start a topic on the forums if you
are unsure which dependencies your game needs.
ENIGMA can be downloaded using the following git command :
git clone git://github.com/enigma-dev/enigma-dev.git
You will also need the LateralGM and ENIGMA plugin binaries ; they can be
installed 1 of 3 ways.
1) You can install those automatically by running the install script in the
enigma-dev folder:
cd ~/enigma-dev
./install.sh
2) Invoking python, (only if you have python 2.6 or python 3+ installed), on
"install.py":
cd ~/enigma-dev
python install.py
3) Or you can obtain them manually per Install:Extra_Packages.