Install:Arch Linux: Difference between revisions

From ENIGMA
Jump to navigation Jump to search
No edit summary
No edit summary
Line 18: Line 18:
cd ~/
cd ~/
echo "Installing dependencies..."
echo "Installing dependencies..."
sudo pacman -Sy wget git gcc gdb make pkg-config protobuf protobuf-c zlib glew glm libpng glu mesa openal libogg alure libvorbis vorbis-tools box2d dumb sdl2 libffi libx11 libxrandr libxinerama jre-openjdk jdk-openjdk pkg-config rapidjson yaml-cpp boost pulseaudio pugixml zenity kdialog
sudo pacman -Sy wget git gcc gdb make pkg-config protobuf protobuf-c zlib glew glm libpng glu mesa openal libogg alure 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..."
echo "Downloading Enigma..."
git clone git://github.com/enigma-dev/enigma-dev.git
git clone git://github.com/enigma-dev/enigma-dev.git
Line 43: Line 43:
* '''The following dependencies will be installed for ENIGMA and the games it creates''':
* '''The following dependencies will be installed for ENIGMA and the games it creates''':
     sudo pacman -Sy wget git gcc gdb make pkg-config protobuf protobuf-c zlib glew glm libpng glu mesa openal  
     sudo pacman -Sy wget git gcc gdb make pkg-config protobuf protobuf-c zlib glew glm libpng glu mesa openal  
                     libogg alure libvorbis vorbis-tools box2d dumb sdl2 libffi libx11 libxrandr libxinerama
                     libogg alure libvorbis vorbis-tools box2d dumb sdl2 freetype2 libffi libx11 libxrandr  
                     jre-openjdk jdk-openjdk pkg-config rapidjson yaml-cpp boost pulseaudio pugixml zenity
                     libxinerama jre-openjdk jdk-openjdk pkg-config rapidjson yaml-cpp boost pulseaudio pugixml  
                     kdialog
                     zenity kdialog
* '''These may be needed to be installed on end-users' computers that run your games''':
* '''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 libvorbis vorbis-tools box2d dumb sdl2  
     sudo pacman -Sy zlib glew glm libpng glu mesa openal libogg alure libvorbis vorbis-tools box2d dumb sdl2  
                     libffi libx11 libxrandr libxinerama zenity kdialog
                     freetype2 libffi libx11 libxrandr libxinerama zenity kdialog
* '''End-users' won't need all of those dependencies, depending on the features used'''...
* '''End-users' won't need all of those dependencies, depending on the features used'''...



Revision as of 16:32, 30 April 2020

The official logo of Arch Linux based operating systems and environments.

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...

In addition, there is an easier method for those of which whom use Arch Linux based distributions:

Easy method for Arch Linux 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 make pkg-config protobuf protobuf-c zlib glew glm libpng glu mesa openal libogg alure 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 http://pastebin.com/raw/6ZmrzWKP -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 CompilerSource
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 pacman -Sy wget git gcc gdb make pkg-config protobuf protobuf-c zlib glew glm libpng glu mesa openal 
                   libogg alure 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
  • 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 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.