2. How to install - devillemereuil/bayescenv GitHub Wiki

This page explain how to install BayeScEnv.

How to download

To download BayeScEnv, go to the Release page and download the latest release (or your preferred one) as a ZIP (for Windows) or TAR/GZ one (for Mac OS X/Linux).

Each release contains the source code, and the binaries for all supported platforms (Windows/Mac OS X/Linux).

How to install

On Windows

Extract the ZIP archive into the folder of your choice. The binaries are located in the "bin/win32" folder. Only a 32bits version is provided, which should work for all Windows version.

The file "bayescenv.exe" is the command line, main program, which comes with a GUI (Graphical User Interface) named "BayeScEnv_GUI.exe". The GUI executes the command line version and display the information in its own terminal. Thus both executables should be in the same folder (with the accompanying DLL files) for the GUI to work. However, the command line version can be copied anywhere.

Nothing more should be required for the program to work.

On Mac OS X

Extract the ZIP (or TAR/GZ) archive into the folder of your choice. The binaries are located in the "bin/mac64" folder. Note that these binaries are provided only for MacIntel (i.e. post-2005 Apple computers). Users on a PowerPC Mac should download the sources and compile (see below).

The file "bayescenv" is the command-line version to be run in the Terminal using the command ./bayescenv. This file can be copied anywhere.

The file BayeScEnv_GUI is the graphical interface, which needs the file "bayescenv" to be in the same folder.

On Linux

Extract the archive (TAR/GZ or ZIP) into the folder of your choice. The binaries are in the "bin/linuxXX" folder where XX stands for 32 or 64 (depending on whether your Linux version is 32bits or 64bits).

The binary "bayescenv" is the command line, main program, which comes with a GUI named "BayeScEnv_GUI". The GUI executes the command line version and display the information in its own terminal. Thus, both executables should be in the same folder. However, the command line version can be copied anywhere and can be launch in a Terminal using the command ./bayescenv.

The command line version should work without dependencies. The GUI is Qt-based and relies on Qt5 to be installed (on Debian/Ubuntu, installing libqt5widgets5 should install all the Qt dependencies).

Compile from sources

For the above-mentioned platforms or any other, you can always compile the code from sources.

The main command-line code is the "source" folder and depends on OpenMP being available (which using recent versions of GCC should not be a problem). Just enter in the "source" folder and type make to compile the code on UNIX. For Windows, you may need MinGW to compile.

To compile the GUI (in the "GUI/BayeScEnv" folder), a development version of the Qt library should be installed on the system. The easiest way should be to open the file "BayeScEnv.pro" with Qt Creator and let it handle the compilation configuration.