Install:Linux: Difference between revisions
No edit summary |
|||
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[File:Linux.png|thumb|200px|The official logo of Linux based operating systems and environments.]] | [[File:Linux.png|thumb|200px|The official logo of Linux based operating systems and environments.]] | ||
The recommended way to install ENIGMA on Linux is by using the source code. Debian users should follow the instructions below | The recommended way to install ENIGMA on Linux is by using the source code. Debian users should follow the instructions below . | ||
* '''Check-out the ENIGMA repo''': The primary way to do this is by referring to the [[Install:Git|Git installation guide]]. | '''Arch Linux''' users can follow the [[Install:Arch_Linux|Arch Linux Installation instructions]]. | ||
In addition, there is an easier method for those of which whom use Debian or Ubuntu based distributions: | |||
Users who use '''Opensuse''' and/or its derivatives can follow this link [[Opensuse_Setup]]. | |||
* '''Check-out the ENIGMA repo''': The primary way to do this is by referring to the [[Install:Git|Git installation guide]]. In addition, there is an easier method for those of which whom use Debian or Ubuntu based distributions: | |||
{| class="wikitable collapsible" | {| class="wikitable collapsible" | ||
! Easy method for Ubuntu and Debian users | ! Easy method for Ubuntu and Debian users | ||
Line 15: | Line 18: | ||
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 wget git g++ make build-essential libprotobuf-dev protobuf-compiler zlib1g-dev libglew-dev libglm-dev libpng-dev libglu1-mesa-dev libopenal-dev libogg-dev libalure-dev libvorbisfile3 libvorbis-dev libbox2d-dev libdumb1-dev libsdl2-dev libx11-dev libxrandr-dev libxinerama-dev libepoxy-dev default-jre default-jdk pkg-config rapidjson-dev libyaml-cpp-dev libboost-dev libboost-filesystem-dev libboost-system-dev libboost-program-options-dev libboost-iostreams-dev pulseaudio libpugixml-dev zenity kdialog | sudo apt-get install wget git g++ make build-essential libprotobuf-dev protobuf-compiler zlib1g-dev libglew-dev libglm-dev libpng-dev libglu1-mesa-dev libopenal-dev libogg-dev libalure-dev libvorbisfile3 libvorbis-dev libbox2d-dev libdumb1-dev libsdl2-dev libfreetype6-dev libffi-dev libx11-dev libxrandr-dev libxinerama-dev libepoxy-dev default-jre default-jdk pkg-config rapidjson-dev libyaml-cpp-dev libboost-dev libboost-filesystem-dev libboost-system-dev libboost-program-options-dev libboost-iostreams-dev pulseaudio libpugixml-dev 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 24: | Line 27: | ||
echo "Correcting permissions..." | echo "Correcting permissions..." | ||
chmod +x start.sh | chmod +x start.sh | ||
chmod +x install. | chmod +x install.sh | ||
echo "Installing..." | echo "Installing..." | ||
./install. | ./install.sh | ||
echo "Rebuilding compiler..." | echo "Rebuilding compiler..." | ||
make clean | make clean | ||
Line 33: | Line 36: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |} | ||
== Install Dependencies == | == Install Dependencies == | ||
Line 56: | Line 43: | ||
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 wget git g++ make build-essential libprotobuf-dev protobuf-compiler zlib1g-dev libglew-dev libglm-dev | sudo apt-get install wget git gcc-9 g++-9 make build-essential libprotobuf-dev protobuf-compiler zlib1g-dev libglew-dev libglm-dev | ||
libpng-dev libglu1-mesa-dev libopenal-dev libogg-dev libalure-dev libvorbisfile3 libvorbis-dev libbox2d-dev | libpng-dev libglu1-mesa-dev libopenal-dev libogg-dev libalure-dev libvorbisfile3 libvorbis-dev | ||
libbox2d-dev libdumb1-dev libsdl2-dev libfreetype6-dev libffi-dev libx11-dev libxrandr-dev libxinerama-dev | |||
libepoxy-dev default-jre default-jdk pkg-config rapidjson-dev libyaml-cpp-dev libboost-dev | |||
libboost-filesystem-dev libboost-system-dev libboost-program-options-dev libboost-iostreams-dev pulseaudio | |||
libpugixml-dev zenity kdialog curl | |||
* '''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 apt-get install zlib1g-dev libglew-dev libglm-dev libpng-dev libglu1-mesa-dev libopenal-dev libogg-dev libalure-dev | sudo apt-get install zlib1g-dev libglew-dev libglm-dev libpng-dev libglu1-mesa-dev libopenal-dev libogg-dev libalure-dev | ||
libvorbisfile3 libvorbis-dev libbox2d-dev libdumb1-dev libsdl2-dev libx11-dev libxrandr-dev | libvorbisfile3 libvorbis-dev libbox2d-dev libdumb1-dev libsdl2-dev libfreetype6-dev libffi-dev libx11-dev | ||
libxrandr-dev libxinerama-dev 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'''... | ||
Line 85: | Line 73: | ||
3) Or you can obtain them manually per [[Install:Extra_Packages|these instructions]]. | 3) Or you can obtain them manually per [[Install:Extra_Packages|these instructions]]. | ||
'''Debian users can't install protobuf deps from the terminal - install manually instead''': | |||
* [http://ppa.launchpad.net/maarten-fonville/protobuf/ubuntu/pool/main/p/protobuf/libprotoc17_3.6.1-1~maarten0+bionic_amd64.deb libprotoc17_3.6.1-1~maarten0+bionic_amd64.deb] | |||
* [http://ppa.launchpad.net/maarten-fonville/protobuf/ubuntu/pool/main/p/protobuf/libprotobuf-lite17_3.6.1-1~maarten0+bionic_amd64.deb libprotobuf-lite17_3.6.1-1~maarten0+bionic_amd64.deb] | |||
* [http://ppa.launchpad.net/maarten-fonville/protobuf/ubuntu/pool/main/p/protobuf/libprotobuf-dev_3.6.1-1~maarten0+bionic_amd64.deb libprotobuf-dev_3.6.1-1~maarten0+bionic_amd64.deb] | |||
* [http://ppa.launchpad.net/maarten-fonville/protobuf/ubuntu/pool/main/p/protobuf/protobuf-compiler_3.6.1-1~maarten0+bionic_amd64.deb protobuf-compiler_3.6.1-1~maarten0+bionic_amd64.deb] | |||
* [http://ppa.launchpad.net/maarten-fonville/protobuf/ubuntu/pool/main/p/protobuf/libprotobuf17_3.6.1-1~maarten0+bionic_amd64.deb libprotobuf17_3.6.1-1~maarten0+bionic_amd64.deb] | |||
'''Need packages newer/older than bionic? i386 architecture? Get those packages here''': | |||
http://ppa.launchpad.net/maarten-fonville/protobuf/ubuntu/pool/main/p/protobuf/ | |||
{{DISPLAYTITLE:Linux Installation}} | {{DISPLAYTITLE:Linux Installation}} |
Revision as of 18:19, 6 July 2020
The recommended way to install ENIGMA on Linux is by using the source code. Debian users should follow the instructions below .
Arch Linux users can follow the Arch Linux Installation instructions.
Users who use Opensuse and/or its derivatives can follow this link Opensuse_Setup.
- 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 Ubuntu and Debian users |
---|
On Ubuntu simply copy and paste this code into a file called "install.sh" and run it. Debian users should remove the add-apt-repository command. 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 wget git g++ make build-essential libprotobuf-dev protobuf-compiler zlib1g-dev libglew-dev libglm-dev libpng-dev libglu1-mesa-dev libopenal-dev libogg-dev libalure-dev libvorbisfile3 libvorbis-dev libbox2d-dev libdumb1-dev libsdl2-dev libfreetype6-dev libffi-dev libx11-dev libxrandr-dev libxinerama-dev libepoxy-dev default-jre default-jdk pkg-config rapidjson-dev libyaml-cpp-dev libboost-dev libboost-filesystem-dev libboost-system-dev libboost-program-options-dev libboost-iostreams-dev pulseaudio libpugixml-dev zenity kdialog
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
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 add-apt-repository ppa:maarten-fonville/protobuf sudo apt-get update sudo apt-get install wget git gcc-9 g++-9 make build-essential libprotobuf-dev protobuf-compiler zlib1g-dev libglew-dev libglm-dev libpng-dev libglu1-mesa-dev libopenal-dev libogg-dev libalure-dev libvorbisfile3 libvorbis-dev libbox2d-dev libdumb1-dev libsdl2-dev libfreetype6-dev libffi-dev libx11-dev libxrandr-dev libxinerama-dev libepoxy-dev default-jre default-jdk pkg-config rapidjson-dev libyaml-cpp-dev libboost-dev libboost-filesystem-dev libboost-system-dev libboost-program-options-dev libboost-iostreams-dev pulseaudio libpugixml-dev zenity kdialog curl
- These may be needed to be installed on end-users' computers that run your games:
sudo apt-get install zlib1g-dev libglew-dev libglm-dev libpng-dev libglu1-mesa-dev libopenal-dev libogg-dev libalure-dev libvorbisfile3 libvorbis-dev libbox2d-dev libdumb1-dev libsdl2-dev libfreetype6-dev libffi-dev libx11-dev libxrandr-dev libxinerama-dev 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.
Debian users can't install protobuf deps from the terminal - install manually instead:
Need packages newer/older than bionic? i386 architecture? Get those packages here:
http://ppa.launchpad.net/maarten-fonville/protobuf/ubuntu/pool/main/p/protobuf/