Installation

Linux

Linux distributions are provided as a gzipped tarball of the distribution tree described below. Installation is performed by simply untarring the file in the desired location. The top-level directory in the tarball is named openeye. Distributions for different Linux variants can be installed into the same location, allowing multiple Linux versions to be run from a single shared directory.

To ensure that the installed applications can be called from the command line, be sure to add the full path of the openeye/bin subdirectory to the PATH environment variable. For instance, if the distribution was installed into /usr/local/openeye, the PATH environment variable should contain: /usr/local/openeye/bin.

Under the top-level openeye directory are the following subdirectories:

arch:This directory contains the collection of platform specific subdirectories. Each subdirectory contains the actual installed executables and support libraries for the associated platform. In the platform specific subdirectory there will be a subdirectory for each application. Within that will be another subdirectory for each version of that application.
bin:This directory contains a startup script for each application that has been installed. This script determines, at run-time, what the current platform is and then calls the appropriate executable in the arch. This script enables the easy co-existence of multiple platforms and versions of any OpenEye application in the same distribution tree.
data:This directory contains all of the associated data for the installed applications. There will be a subdirectory for each installed application and within that subdirectory there will be another subdirectory for each specific version of that application.
docs:This directory contains all of the documentation associated with the installed applications. There will be a subdirectory for each installed application and within that subdirectory there will be another subdirectory for each specific version of that application.
examples:This directory contains all of the examples associated with the installed applications. There will be a subdirectory for each installed application and within that subdirectory there will be another subdirectory for each specific version of that application.

The startup script discussed in the section on the bin directory above will have the same name as the installed executable with which it is associated. When the script is called, it will attempt to determine the current platform and run the appropriate executable if installed. If an appropriate executable cannot be found, the script will report that information, as well as a list of the currently installed platforms. The auto-detection can be overridden by setting one of two environment variables:

  • OE_ARCH can be used to specify a colon separated list of compatible distributions for the current platform such as:

    redhat-RHEL5-x64:redhat-RHEL4-x64

    Specification of this environment variable overrides the auto-detection process, if it is present. If none of the compatible distributions listed are found, the script will fall back to the auto-detection process.

  • APPNAME_OE_ARCH can be used to specify a colon separated list of compatible distributions for a specific application (as specified by changing the APPNAME text in the environment variable name) just like OE_ARCH as detailed above.

    Specification of this environment variable overrides the OE_ARCH environment variable as well as the auto-detection process. If none of the compatible distributions listed are found, the script will fall back to the OE_ARCH list first and then to the auto-detection process.

    Specifying this variable provides a simple way to customize the behavior for individual applications on non-standard platforms.

The startup script also supports a few commandline arguments including:

-path Specifying this argument will output the full path of the executable to be run. The executable will not be started if this argument is present.
-print_arch Specifying this argument will output the details of the current platform as detected by the script as well as which platform-version of the executable is being run. The executable will be started if this argument is present.
-use_version Specifying this argument followed by a specific version number allows the user to control which released version of the executable to run.

Windows

Windows distributions are provided as a standard EXE installer. For installation double click the executable and follow the installation instructions. By default, OpenEye applications will install into the C:\Program Files (x86) directory (for 32-bit applications) or C:\Program Files (for 64-bit applications).

Under the application directory (C:\Program Files\Application Name) there are subdirectories for:

bin:This directory contains the application executable.
data:This directory contains all of the associated data for the installed applications.
docs:This directory contains all of the documentation associated with the installed applications.
examples:This directory contains all of the examples associated with the installed applications.

An OpenEye group with an application specific subgroup will be added to the Start menu. The application specific subgroup will contain links to the documentation, the uninstaller, and, for some applications, a Windows command shell with PATH settings already defined to allow the user to simply type the executable name at the prompt without concern for where the executable is actually installed. Links are also included to add and remove the installed location to the user’s default path.

For graphical applications, a link to the application will be created on the desktop as well as in the application specific subgroup of the Start menu.

Mac OS X

Mac OS X distributions are provided as a dmg disk image. For installation, double click the .dmg file to open it, and drag the application to the Applications folder.

A folder containing documentation and example data is included in the disk image (Right click, Show Package Contents). Under the top level Contents folder there are subdirectories for:

data:This directory contains all of the associated data for the installed applications.
docs:This directory contains all of the documentation associated with the installed applications.
MacOS/bin:This directory contains the application executable.

The documentation and example data can be copied to any convenient location. Graphical applications have built-in documentation, which is available from the application’s Help menu.

For command-line only tools, an application named “Install Command Line Support” can be run from the .dmg file, and this will allow the user to add the application’s location to the user’s PATH environment variable. Command-line applications can also be run from the Applications folder, in which case they will open a terminal window with a properly configured environment.

Table Of Contents

Previous topic

Front Matter

Next topic

Introduction