Installing / Building Genome Workbench

Windows 2000 / XP / Vista / 7 (64-bit)

The Windows 2000/XP package is a native Windows installer. Once you have downloaded the installer executable, simply double-click it in Windows Explorer to launch this. The installation wizard will then walk you through the steps of installing the main executable and registering its components.

Once Genome Workbench is installed, you should have an icon on your desktop and an item in your start menu to launch Genome Workbench.

MacOS X

The MacOS X package is an executable disk image. Once you have downloaded this image, you should be able to launch the application by double-clicking on it in the Finder.

We provide two packages for MacOS X, one for MacOS X 10.5 (Leopard) and one for MacOS X 10.6 and later (Snow Leopard and Lion). The MacOS X 10.5 snapshot should work on MacOS X 10.6, but users are encouraged to choose a package appropriate for their platform.  Also we now have a 64-Bit version that's appropriate for high end machines with more than 4GB of RAM.

Linux

The Linux package is provided for 32-bit Intel platforms in a variety of packaging formats, including binary RPM, DEB, and TGZ packages. We test and compile at NCBI using SuSE Linux 9 and Ubuntu 9. The provided .rpm and .deb packages should work according to your distribution's installation procedures. The .tgz tarball can be unzipped into the root of the file system, and will install the software into /opt/ncbi/gbench-2.3.2 Once unpacked, you should add the path /opt/ncbi/gbench-2.3.2 to the global or user path to gain execution access. Genome Workbench can then be executed using the gbench symlink, also located in the bin/ subdirectory. It is recommended that this bin/ directory be added to users's $PATH variable for ease of execution.

Example 32-bit tarball install:

  (as root, unpack:)
  cd /
  tar xzvf .../gbench-linux-i686-2.3.2.tgz

  (as a user, execute:)
  /opt/ncbi/gbench-2.3.2/bin/gbench

  (from a path variable:)
  export PATH=$PATH:/opt/ncbi/gbench-2.3.2/bin
  gbench

Source Installations

Genome Workbench is provided in source form. The source package is placed in the public domain, and is freely available for anyone to modify and redistribute, in either binary or source form. Details of the NCBI Public Domain License can be found here

Genome Workbench makes use of the NCBI C++ Toolkit. A subset of the public toolkit source code is included in the Genome Workbench source package. While the latest versions of Genome Workbench can be found here, Genome Workbench is also available as part of the NCBI C++ Toolkit's public releases.

The scope of the build process is documented as part of the NCBI C++ Toolkit. There are a couple of specific details that should be remembered when building Genome Workbench:

  • In order to build Genome Workbench successfully, you must choose a multithreaded DLL build.
    • For Unix / Linux, this amounts to using the --with-gbench flag with 'configure'. --with-gbench implies --with-dll --with-mt
    • For Unix/Linux, a build script (build-linux-distro.sh) is provided in the root directory of the source tarball. This script is the script we use for building distributions in-house, and will automatically ensure that the required library dependencies are built and installed side-by-side with the application, regardless of whether your system libraries adhere to the requirements listed below. This dual installation insures that the application will maintain binary compatibility through system upgrades.
    • For Windows, please use the Visual Studio solution named ncbi_gbench.sln, located in compilers/msvc800_prj/dll/build/gbench.
    • The build for MacOS X supports two versions of the build system: the command-line 'configure'-based solution, as described for Unix builds; and a build system for xCode (in compilers/xCode).
  • Genome Workbench requires a multithreaded environment.
    • In Unix / Linux, you should supply the --with-mt flag to 'configure'. This is implied by --with-gbench.
    • In Windows, you should use ReleaseDLL or DebugDLL build settings, generated by the solution configure process.
  • Genome Workbench makes use of several third-party libraries. These include:
    • wxWidgets version 2.8 or higher, a cross-platform windowing toolkit. We require that wxWidgets be compiled with certain flags to support execution, including --with-opengl --disable-unicode --disable-monolithic --disable-sockets
    • SQLite, version 3.6 or higher.
    • BerkeleyDB, of at least version 4.5
    • Various image libraries: libpng, libjpeg, libtiff, and giflib

Last updated: 2012-08-27T11:21:07-04:00