Linux Installation

From ENIGMA
Revision as of 23:05, 22 September 2020 by Time-killer-games (talk | contribs) (remove outdated information for Debian users)
Jump to navigation Jump to search
The official logo of Linux based operating systems and environments.

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.

Users who use Opensuse and/or its derivatives can follow this link Opensuse_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 "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 add-apt-repository ppa:maarten-fonville/protobuf
sudo apt-get update
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 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"

Install Dependencies

  • The following dependencies will be installed for ENIGMA and the games it creates:
   sudo add-apt-repository ppa:maarten-fonville/protobuf
   sudo apt-get update
   sudo apt-get install wget git gcc-9 g++-9 make build-essential libprotobuf-dev protobuf-compiler zlib1g-dev libglew-dev libglm-dev 
                        libpng-dev libglu1-mesa-dev libopenal-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 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.

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.