Install:Arch Setup: Difference between revisions

From ENIGMA
Jump to navigation Jump to search
m (add protobuf so users don't get protoc command not found errors)
No edit summary
Line 11: Line 11:
cd  
cd  
echo "Installing dependencies..."
echo "Installing dependencies..."
sudo pacman -Sy git make gcc zlib glew glm glu mesa alure box2d dumb zenity openal cmake pkgconfig patch fakeroot wget protobuf
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
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 33: Line 33:
* '''Prerequisites:'''  GNU GCC G++Compiler, Git Client, Java
* '''Prerequisites:'''  GNU GCC G++Compiler, Git Client, Java
* '''Install Dependencies:'''
* '''Install Dependencies:'''
     sudo pacman -Sy git make gcc zlib glew glm glu mesa alure box2d dumb zenity openal patch wget fakeroot cmake pkgconfig protobuf
     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
 
If you want to install manually, run the above command and then
If you want to install manually, run the above command and then
  git clone git://github.com/enigma-dev/enigma-dev.git
  git clone git://github.com/enigma-dev/enigma-dev.git

Revision as of 21:12, 18 March 2020

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;

Arch Linux Easy Installation Script
#!/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
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"
  • 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

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


If your project makes use of any Widgets, on all distributions of Linux, either Zenity or Kdialog, are currently required to be installed.

For more information on the available Widgets Systems for ENIGMA, please visit this link.

Below are listed the instructions to install Zenity and KDialog, specific to Arch Linux.


Installing Kdialog

To install Kdialog do as follows.

Go to the AUR website.

Download the file to your Downloads folder or any other you are comfortable with and execute it. Any additional dependencies will also be installed as it goes through its installation process.


Installing Zenity

Install zenity-gtk2.2.32.1-4 first through the AUR(Arch User Repository) from here.

Download the snapshot file. Extract its contents into a folder of your choosing. In a Terminal window, go to the folder you extracted the contents and type each separately

   sudo pacman -Sy intltool
   sudo pacman -Sy gtk-doc
   sudo pacman -Sy gnome-doc-utils

to install some missing dependencies first. Then type "makepkg PKGBUILD" to build the actual package. When everything is completed successfully, you can either type out the name of the package in Terminal and hit [ENTER] to install ......or.... open File-Manager, go to the folder you extracted and built the package and double-click on the ".pkg.tar.xz" file to install Zenity to your computer.