Install:Arch Linux: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
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 [[Install:Linux|Debian Installation instructions]]. | 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 [[Install:Linux|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 [[Install:Git|Git installation guide]]. | * '''Check-out the ENIGMA repo:''' The primary way to do this is by referring to the [[Install:Git|Git installation guide]]. |
Revision as of 14:57, 19 March 2020
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 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 alure libvorbis vorbis-tools box2d dumb sdl2 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
- 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 make pkg-config protobuf protobuf-c zlib glew glm libpng glu mesa alure libvorbis vorbis-tools box2d dumb sdl2 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 alure libvorbis vorbis-tools box2d dumb sdl2 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 invoking python on "install.py":
cd ~/enigma-dev python install.py
2) Running the install script in the enigma-dev folder from a terminal window:
cd ~/enigma-dev ./install.sh
3) Or you can obtain them manually per these instructions.