Skip to content

Installation

MohamadSaada edited this page Oct 30, 2017 · 16 revisions

Linux

This installation assumes LogiGSK is installed to /opt/LogiGSK. Make sure all paths in scripts are correct and accessible. A common mistake is that a user has no read and/or write permissions. Prerequisites:

  • Java
  • JSVC (I used the simple sudo apt-get install jsvc, but it could be different for you, google it)

Using provided package creator script file (best way)

  • Clone and extract repository
  • To get a .deb package run sudo ./logigsk-buildpackage deb
  • To get a .rpm package run sudo ./logigsk-buildpackage rpm (Please note that rpm are created using alien tool through converting .deb package to .rpm)
  • To get both packages run sudo ./logigsk-buildpackage
  • Install the resulting package
  • To uninstall do so through your package manager, example in Ubuntu sudo apt-get remove logigsk.

Please note that the package creator script logigsk-buildpackage uses Apache Ant, java, alien and dpkg tools to compile the source code to create executable jars which in turn are used along with other scripts to create the final package, you can trace every step in logigsk-buildpackage for a better understanding

Using provided package files (second best way)

Using provided INSTALL script (third best way)

  • Clone and extract repository
  • Run the script by typing sudo ./INSTALL
  • To uninstall run sudo logigsk UNINSATLL

Please note that this script is very similar to the package creating script but it doesn't create a package, but rather installs the files directly to the directories bypassing the package installation through package manager step. it also differs from the package installation step in that it has an UNINSTALL script which can be executed by running sudo logigsk UNINSATLL.

Compiling source code

  • Download the LogiGSK source directory
  • Open project in Netbeans (or import project to any other IDE)
  • Make desired modifications, then compile and use jars same as previous section