Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - Database Administration » File Locations and Installation Settings

File Locations and Installation Settings Next Page

Installation directory structure


When you install SQL Anywhere, several directories are created. Some of the files in these directories are essential, and others are not. This section describes the directory structure.

SQL Anywhere software, whether you receive it as a product or bundled as part of another product, is installed under a single installation directory. The utilities provided with the SQL Anywhere product, however, are installed in other directories. This section describes only the installation directory structure for SQL Anywhere itself. The SQLANY10 environment variable specifies the location of the installation directory. See SQLANY10 environment variable.

SQL Anywhere installation directory

The SQL Anywhere installation directory itself holds several items, including the following:

For platforms other than Novell NetWare and Windows CE, there are several directories under the installation directory:

Novell NetWare file locations

On Novell NetWare, all files are installed in a single directory on the server. Throughout this documentation, when reference is made to files in subdirectories of the installation directory, the file on NetWare is in the installation directory itself.

Windows CE file locations

On Windows CE, all files are installed in the installation directory \Program Files\SQLAny10, except for DLLs, which are installed in the \Windows directory. No subdirectories are created.

Unix file locations

The language resources are installed in the res directory, and the shared objects are installed in the lib32 or lib64 directory.

Samples directory

When you install SQL Anywhere 10, you can choose the directory where the samples are installed. The documentation refers to this location as samples-dir.

The SQLANYSAMP10 environment variable specifies the location of samples-dir. See SQLANYSAMP10 environment variable.

On Windows, you can access the samples from the Start menu by choosing Programs > SQL Anywhere 10 > Sample Applications and Projects.

The following table shows default and typical locations of samples-dir for each supported operating system:

Operating systemDefault installation location (samples-dir)Typical installation location
Windows XP/200x%ALLUSERSPROFILE%\Documents\SQL Anywhere 10\SamplesC:\Documents and Settings\All Users\Documents\SQL Anywhere 10\Samples1
Windows Vista%PUBLIC%\Documents\SQL Anywhere 10\SamplesC:\Users\Public\Documents\SQL Anywhere 10\Samples
Windows CE\Program Files\SQLAny10
Unix and Linux/opt/sqlanywhere10/samples Script provided to copy samples to user-specified directory.
Mac OS X/Applications/SQLAnywhere10/Samples Script provided to copy samples to user-specified directory.
NetWareNo samples installed.

1 When accessing the SQL Anywhere samples directory in Windows Explorer, the location is Documents and Settings > All Users > Shared Documents > SQL Anywhere 10 > Samples. However, if you are accessing the SQL Anywhere samples directory from a command prompt, the path is C:\Documents and Settings\All Users\Documents\SQL Anywhere 10\Samples.