Skip to content

Install:Arch_Linux

Hugar edited this page Jul 23, 2021 · 2 revisions

The recommended way to install ENIGMA on Linux is by using the source code. Arch Linux users should follow the instructions below and Debian users can follow the Debian Installation instructions.

Build from the AUR: On Arch Linux you can build directly from Git via the AUR at https://aur.archlinux.org/packages/enigma-dev-git/ (or using yaourt -S enigma-dev-git ). This takes care of dependencies, configuration and uninstalling safely for you. PLEASE NOTE: This package is outdated (Last Updated: 2016-09-23 20:22) and due to this stability cannot be guaranteed.

  • For a much more modern release of ENIGMA, read on down below...
  • 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 Arch Linux based distributions:
Easy method for Arch and Manjaro users
On Arch Linux simply copy and paste this code into a file called "install.sh" and run it. 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 pacman -Sy wget git gcc gdb grpc make pkg-config protobuf protobuf-c zlib glew glm libpng glu mesa openal libogg alure mpg123 fluidsynth libvorbis vorbis-tools box2d dumb sdl2 freetype2 libffi libx11 libxrandr libxinerama jre-openjdk jdk-openjdk pkg-config rapidjson yaml-cpp boost pulseaudio pugixml 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

  • Prerequisites: GNU GCC G++ Compiler, Git Client, Java
  • The following dependencies will be installed for ENIGMA and the games it creates:
    sudo pacman -Sy wget git gcc gdb grpc make pkg-config protobuf protobuf-c zlib glew glm libpng glu mesa openal 
                    libogg alure mpg123 fluidsynth libvorbis vorbis-tools box2d dumb sdl2 freetype2 libffi 
                    libx11 libxrandr libxinerama jre-openjdk jdk-openjdk rapidjson yaml-cpp boost 
                    pulseaudio pugixml zenity kdialog
  • These may be needed to be installed on end-users' computers that run your games:
    sudo pacman -Sy zlib glew glm libpng glu mesa openal libogg alure mpg123 fluidsynth libvorbis vorbis-tools 
                    box2d dumb sdl2 freetype2 libffi libx11 libxrandr libxinerama 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.

Clone this wiki locally