Install:Linux: Difference between revisions

From ENIGMA
Jump to navigation Jump to search
(Updated start.sh to allow for directly opening files)
(Bugfix for line endings being \c\r instead of \n)
Line 21: Line 21:
echo "Downloading easy startup script..."
echo "Downloading easy startup script..."
wget http://pastebin.com/raw/6ZmrzWKP -O start.sh
wget http://pastebin.com/raw/6ZmrzWKP -O start.sh
sed -i -e 's/\r$//' start.sh
echo "Correcting permissions..."
echo "Correcting permissions..."
chmod +x start.sh
chmod +x start.sh

Revision as of 06:45, 8 July 2016

The official logo of Linux based operating systems and environments.

Packages

The following list of packages are available for various Linux distributions which offer easy installation.

  • Arch Linux: 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.

Source Code

You can also build ENIGMA from source code.

Easy method for Debian and Ubuntu users
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 apt-get install g++ zlib1g-dev libglu1-mesa-dev libalure-dev libvorbisfile3 libvorbis-dev libdumb1-dev git default-jre wget
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.py
echo "Installing..."
./install.py
cd CompilerSource
echo "Rebuilding compiler..."
make clean
make
echo "Done, to start Enigma just run ~/enigma-dev/start.sh"
  • Prerequisites: GNU GCC G++ Compiler, Git Client, Java
  • Install dependencies:
   sudo apt-get install g++ zlib1g-dev libglu1-mesa-dev libalure-dev libvorbisfile3 libvorbis-dev libdumb1-dev
  • Check-out the ENIGMA repo: Instead, you should check out from the Repository.

Binaries

You will also need the LateralGM and ENIGMA plugin binaries. You can install those automatically by invoking python on install.py, ie,

   python install.py

Or you can obtain them manually per these instructions.