How to Install eiConsole on Linux
Step-by-Step Guide
Note: These directions were tested on Ubuntu 16.04 64-bit Linux. Installation to other distros may vary.
To Install eiConsole on Linux do the following:
1. Use tar.gz build file for the eiConsole instead of .deb or .rpm. Unzip the contents to the ~/Downloads directory of the Linux installation.
2. Move the unzipped directory to the /opt folder using sudo mv eiConsole /opt. While you need “su” permission to move something to /opt, the ownership of the directory won’t change; it’ll still be owned by your user account.
3. Install a JDK. Many Linux distributions only have OpenJDK, and not the Oracle JDK setup, in their package managers. Here is how to install each on Ubuntu. Note: We recommend using OpenJDK over Oracle JDK in all cases.
a) OpenJDK: Use the apt tool, it’s a pretty straightforward process. Just substitute the version number in the example below for the JDK version that you want (note that not all legacy JDKs may be supported).
sudo apt-get update
sudo apt-get install openjdk-11-jdk
4. Add to the end of the .bashrc file to tell the eiConsole where the new Java home is located for the eiConsole:
export INSTALL4J_JAVA_HOME=”/usr/lib/jvm/java-8-openjdk-amd64″
5. Update .bash_profile so that it always reads in .bashrc as well since .bashrc is only read by a shell that’s both interactive and non-login:
#Since .bashrc is only read by a shell that’s both interactive and non-login we want to tell .bash_profile (this) to read in .bashrc as well by doing the following:
if [ -r ~/.bashrc ]; then
. ~/.bashrc
fi
6. You might need to get the 32-bit z1 library if you receive errors related to ‘bittedness’ when running:
sudo apt-get install lib32z1
7. In the root of the /opt/eiConsole directory, there is a file simply called “eiConsole”. This is a shell script. Simlink it for easy access: sudo ln -s /opt/eiConsole/eiConsole /usr/local/bin
8. Now, from any location, you can run the eiConsole simply by inputting the command eiConsole.