Linux
Standard installation
Note: You must be aware that the installation of the software is a tacit acceptance of our Terms and Conditions and End-User License Agreement.
The application is shipped as a .zip file. To install, you simply unzip the file in the folder of your choice, then start the executable.
The application can be run from the terminal or from a script by terminal:
/path/to/unzipped/folder/Hackolade
Unfortunately, the issue with running executable file from the file manager still is not resolved:
https://github.com/electron/electron/issues/15406
Also, there is a way to create a desktop file to launch the application:
https://stackoverflow.com/questions/55060402/electron-executable-not-recognized-by-nautilus
Create a file called myapp.desktop with the following contents.
[Desktop Entry]
Name=My Application
Exec=/path/to/binary
Terminal=false
Type=Application
StartupNotify=true
Encoding=UTF-8
Then, mark the desktop file executable by issuing chmod +x myapp.desktop. Double clicking the file should launch the application as expected.
CentOS 7 with no GUI
For CentOS 7 if GUI was not selected during installation, a complex procedure is documented below:
Pre-requisites
sudo yum update
sudo yum install gcc gcc-c++ kernel-devel make bzip2 clang dbus-devel gtk3-devel \
libgnome-keyring-devel xorg-x11-server-utils libcap-devel \
cups-devel libXtst-devel alsa-lib-devel libXrandr-devel \
nss-devel libsecret-devel libnotify-devel wget unzip
Copy and replace file in the directory (link):
/lib64/libstdc++.so.6
https://drive.google.com/file/d/17aJr9wHbl_xPtCZpyM7xygiObC7lzHTB/view?usp=sharing
sudo yum groupinstall “GNOME Desktop”
echo "exec gnome-session" >> ~/.xinitrc
Starting GNOME:
startx
Notice: you should start GNOME by a non-root user
https://www.techrepublic.com/article/how-to-install-a-gui-on-top-of-centos-7/
Installation
wget “https://s3-eu-west-1.amazonaws.com/hackolade/current/Hackolade-linux-x64.zip*” -O hackolade.zip*
unzip hackolade.zip
rm hackolade.zip
cd Hackolade-linux-x64
chown root:root chrome-sandbox
chmod 4755 chrome-sandbox
Notice:
File “chrome-sandbox” must be owned by root user and have permissions 4755.
The application must be executed by a non-root user.
Start application
Execute in the terminal:
./Hackolade
Remote connection
In case of remote connection, you need VNC server:
https://wiki.centos.org/HowTos/VNC-Server
Compiling GCC
If copying /lib64/libstdc++.so.6 didn’t help and you faced troubles with GLIBCXX you have to compile a newer version of GCC (it takes a while):
wget ftp://ftp.lip6.fr/pub/gcc/releases/gcc-7.5.0/gcc-7.5.0.tar.gz
tar xzf gcc-7.5.0.tar.gz
cd gcc-7.5.0
./contrib/download_prerequisites
cd ..
mkdir objdir
cd objdir
$PWD/../gcc-7.5.0/configure --prefix=$HOME/GCC-7.5.0 --enable-languages=c,c++,fortran,go --disable-multilib
make
make install
After compiling create a symlink to the file libstdc++.so.6.0.24:
sudo ln -s $HOME/GCC-7.5.0/lib64/libstdc++.so.6.0.24 /lib64/libstdc++.so.6
https://gcc.gnu.org/wiki/InstallingGCC