{{DISPLAYTITLE:Opensuse Linux Installation}} File:Opensuse_logo-
color.png The recommended way to install Enigma on Linux-based
systems is through the source code. Opensuse users should follow these
instructions below. * Please bear in mind this method is experimental and
you may need to do additional steps to get the full usage....
On Opensuse Linux and their derivatives, copy this code into a file and name
it "install.sh" * . Make sure that you give it permissions to run as an
executable file.
//#!/bin/bash
cd ~/
echo "Installing dependencies..."
sudo zypper install git gcc gdb pkgconf protobuf-devel protobuf-c zlib-devel
glew glew-devel glm-devel glu-devel Mesa openal-soft-tools libogg-devel alure-
devel libvorbis-devel vorbis-tools libBox2D-devel libSDL2-devel libfreetype6
libffi-devel libX11-devel libXrandr-devel libXinerama-devel rapidjson-devel
yaml-cpp-devel boost-devel pulseaudio pugixml-devel libgme-devel
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
cd enigma-dev
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 must be installed for Enigma and the games it compiles. :
sudo zypper install git gcc gdb pkgconf protobuf-devel protobuf-c zlib-devel glew glew-devel glm-devel
glu-devel Mesa openal-soft-tools libogg-devel alure-devel libvorbis-devel vorbis-tools
libBox2D-devel libSDL2-devel libfreetype6 libffi-devel libX11-devel libXrandr-devel
libXinerama-devel rapidjson-devel yaml-cpp-devel boost-devel pulseaudio pugixml-devel
libgme-devel
These may be needed to be included/installed on the end-users computers that run your games :
sudo zypper install zlib-devel glew glew-devel glm-devel libpng-devel Mesa openal-soft-tools libogg-
devel alure-devel libvorbis-devel vorbis-tools libBox2D-devel libSDL2-devel libfreetype6
libffi-devel libX11-devel libXrandr-devel libXinerama-devel libgme-devel
Please start a topic on the forums if you are
unsure or having problems with any 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 need to install the IDE LateralGM and ENIGMA plugin binaries ;
they can be installed 1 of 3 ways.
1) Running the install script in the enigma-dev folder:
cd ~/enigma-dev
./install.sh
2) Invoking python via the python script:
cd ~/enigma-dev
python install.py
3) Or you can obtain manually per Install:Extra_Packages.
OpenAL is the desired dependency for playing sound. However there are some
codecs that may contain proprietary code, so Opensuse will not install them.
One such file is the libdumb library. Other Linux distributions like Debian
and Arch have such libraries installed. Opensuse however does not. For this
reason you will get an error when you try to run a game with the OpenAL API
selected. This can be fixed by adding the Games Repository in the Terminal.
Doing so should be done as a last resort measure.
Open a Terminal window and type:
sudo zypper addrepo [https://ftp.lysator.liu.se/pub/opensuse/repositories/games/openSUSE_Tumbleweed/games-x86_64
Next install the libaldmb-devel rpm package:
sudo zypper install libaldmb-devel
If you want you can also install the entire libdumb package:
sudo zypper install libdumb
SFML is being proposed as an alternative to OpenAL via as an Extension. Based
on its ease of use and integration in developing games and multimedia apps, it
serves best as a simple interface to your pc components. It is composed of 5
modules: audio, network, window, graphics and system. You can find out more at
its website SFML.org (www.sfml-dev.org)
To get SFML working you need to install the libsfml and sfml2-devel
libraries.