Install:Arch Setup: Difference between revisions

From ENIGMA
Jump to navigation Jump to search
No edit summary
(Blanked the page)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
The method for installing ENIGMA on Arch and such distribution is similar to the method highlighted for installing to Debian and Ubuntu based ones.


As such the following code can be copied into a script and run in the Terminal. Remember to make it executable for it to run;
{| class="wikitable collapsible"
!Arch Linux Easy Installation Script
|-
|
<syntaxhighlight lang="bash">
#!/bin/bash
cd
echo "Installing dependencies..."
sudo pacman -Sy wget git gcc gdb pkg-config make 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"
</syntaxhighlight>
|}
* '''Prerequisites:'''  GNU GCC G++Compiler, Git Client, Java
* '''Install Dependencies:'''
    sudo pacman -Sy wget git gcc gdb pkg-config make 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
If you want to install manually, run the above command and then
git clone git://github.com/enigma-dev/enigma-dev.git
cd enigma-dev
./install.sh
and then to launch enigma (as of current), you will need java jdk. Currently java 11 runs very unstably so it is recommended to install a version such as java 8
To do this
pacman -S jdk8-openjdk
and then to launch
java -jar lateralgm.jar

Latest revision as of 21:35, 18 March 2020