The Linux installer is a self-extracting binary ﬁle named BayES_LinuxXX.bsx, where ‘XX’ could be either ‘32’ or ‘64’, for 32-bit and 64-bit machines, respectively. The installation process can be initiated after making this ﬁle executable using either the system’s command shell or its ﬁle browser:
- from the system’s command shell change directory to where the installer is located and execute: chmod u+x BayES_LinuxXX.bsx (replacing ‘XX’ with either ‘32’ or ‘64’), or
- from the system’s ﬁle browser navigate to the location where the installer is located and right-click on it. In the pop-up menu click on Properties and in the pop-up window select the option to make this ﬁle executable for the current user.2
Next, run ./BayES_LinuxXX.bsx from the command shell (replacing ‘XX’ with either ‘32’ or ‘64’) This should take you to the ﬁrst screen of the setup wizard (see the following ﬁgure). From now on you should follow the instructions on the setup wizard:
Click on the Next> button on the welcome page of the wizard:
Read the license agreement and either check the “I Agree" checkbox and click Next> to proceed or Cancel to cancel the installation process:
On the next screen you need to provide a location where BayES will place its documents, datasets and sample script ﬁles. Under Linux the BayES system ﬁles (libraries, icons and initialization ﬁles) are always placed in the user’s home directory in a folder called .BayES (hidden).
There are three additional options available on this page:
- if the ﬁrst checkbox is checked the installer will attempt to create a shortcut to the BayES binary on the system’s desktop3
- if the second checkbox is checked the installer will attempt to create a shortcut to the BayES binary on the system’s “start" menu
- if the third checkbox is checked the installer will attempt to make BayES accessible from the command line. This means that BayES will be available from the system’s shell by typing BayES, optionally followed by a script ﬁle to be executed. This is achieved by creating an entry in the user’s .bashrc ﬁle. If such a ﬁle does not already exist, the installer will create one.
Finally, click on Install to get the installer to commit changes to the system.
Once the installation completes you should see the following screen. Look at the install log on this page in case something went wrong during installation and act accordingly. Click Close to quit the installer.
| In most Linux systems the user needs to either logout and login again for all changes to take
eﬀect or issue the command: |
from the system’s command shell.
2Depending on the Linux distribution installed on the system, the steps may diﬀer, but most modern Linux distributions that support a GUI, allow making ﬁles executable from the GUI.
3Under some Linux distributions you may have to “trust and run" the desktop ﬁle the ﬁrst time you invoke BayES through it.