Install:Linux: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 16: | Line 16: | ||
sudo add-apt-repository ppa:maarten-fonville/protobuf | sudo add-apt-repository ppa:maarten-fonville/protobuf | ||
sudo apt-get update | sudo apt-get update | ||
sudo apt-get install g++ libprotobuf-dev protobuf-compiler zlib1g-dev libglew-dev libglm-dev libpng-dev libglu1-mesa-dev libalure-dev libvorbisfile3 libvorbis-dev libbox2d-dev libdumb1-dev libepoxy-dev git default-jre default-jdk make pkg-config wget | sudo apt-get install g++ libprotobuf-dev protobuf-compiler zlib1g-dev libglew-dev libglm-dev libpng-dev libglu1-mesa-dev libalure-dev libvorbisfile3 libvorbis-dev libbox2d-dev libdumb1-dev libepoxy-dev libxmu-headers libgd-dev libxmu-dev libglib2.0-dev git default-jre default-jdk make pkg-config wget | ||
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 39: | Line 39: | ||
sudo apt-get update | sudo apt-get update | ||
sudo apt-get install g++ libprotobuf-dev protobuf-compiler zlib1g-dev libglew-dev libglm-dev libpng-dev libglu1-mesa-dev | sudo apt-get install g++ libprotobuf-dev protobuf-compiler zlib1g-dev libglew-dev libglm-dev libpng-dev libglu1-mesa-dev | ||
libalure-dev libvorbisfile3 libvorbis-dev libdumb1-dev libepoxy-dev libbox2d-dev | libalure-dev libvorbisfile3 libvorbis-dev libdumb1-dev libepoxy-dev libbox2d-dev libxmu-headers libgd-dev libxmu-dev libglib2.0-dev | ||
default-jdk make pkg-config | default-jdk make pkg-config | ||
Revision as of 14:17, 30 August 2019
Source Code
The recommended way to install ENIGMA on Linux is by using the source code. Debian users should follow the instructions below and Arch users can follow the Arch Setup instructions.
- 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 Debian or Ubuntu based distributions;
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 add-apt-repository ppa:maarten-fonville/protobuf
sudo apt-get update
sudo apt-get install g++ libprotobuf-dev protobuf-compiler zlib1g-dev libglew-dev libglm-dev libpng-dev libglu1-mesa-dev libalure-dev libvorbisfile3 libvorbis-dev libbox2d-dev libdumb1-dev libepoxy-dev libxmu-headers libgd-dev libxmu-dev libglib2.0-dev git default-jre default-jdk make pkg-config wget
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.py
echo "Installing..."
./install.py
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 add-apt-repository ppa:maarten-fonville/protobuf sudo apt-get update sudo apt-get install g++ libprotobuf-dev protobuf-compiler zlib1g-dev libglew-dev libglm-dev libpng-dev libglu1-mesa-dev libalure-dev libvorbisfile3 libvorbis-dev libdumb1-dev libepoxy-dev libbox2d-dev libxmu-headers libgd-dev libxmu-dev libglib2.0-dev default-jdk make pkg-config
Packages
In addition, packages for ENIGMA exist. 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. PLEASE NOTE: This package is outdated (Last Updated: 2016-09-23 20:22) and due to this stability cannot be guaranteed.
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
running the install script in the enigma-dev folder from a terminal window
./install.sh
Or you can obtain them manually per these instructions.