Linux Installation
The recommended way to install ENIGMA on Linux is by using the source code. Debian users should follow the instructions below.
Arch Linux users can follow the Arch Linux Installation instructions.
Opensuse Tumbleweed and/or its derivatives users can follow this link Setup_Opensuse
Red Hat Linux and/or its derivatives(forks) users can follow this link Setup_Red-Hat-Linux.
Fedora Linux and /or distro users can follow this link Fedora Linux Setup
- Check-out the ENIGMA repo: The primary way to do this is by referring to the Git installation guide. In addition, there is an easier method for those of which whom use Debian or Ubuntu based distributions:
Easy method for Ubuntu and Debian users |
---|
On Ubuntu simply copy and paste this code into a file called "setup.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 curl build-essential libprocps-dev libprotoc-dev libprotobuf-dev protobuf-compiler protobuf-compiler-grpc libgrpc++-dev 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 https://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"
|
Install Dependencies
- Prerequisites: GNU GCC G++ Compiler, Git Client, Java
- The following dependencies will be installed for ENIGMA and the games it creates:
sudo apt-get install wget git gcc g++ curl make build-essential libprotoc-dev libprotobuf-dev protobuf-compiler protobuf-compiler-grpc libgrpc-dev libgrpc++-dev 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 libprocps-dev
- 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 libprocps-dev
- 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.
Download ENIGMA
ENIGMA can be downloaded using the following git command:
git clone git://github.com/enigma-dev/enigma-dev.git
Install IDE + Plugin
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 these instructions.