FirebirdSQL logo

Windows

No separate installation program is available to install only the client pieces on a Windows machine.If you are in the common situation of running Windows clients to a Linux or other Unix-like Firebird server (or another Windows machine), you need to download the full Windows installation kit that corresponds to the version of Firebird server you install on your server machine.

Fortunately, once you have the kit, the Windows client-only install is a breeze.Just run the installation program and when you arrive at the “Select Components” screen, choose one of the client-only options from the drop-down list or uncheck the “Server Components” checkbox.

Linux and some other POSIX clients

A small-footprint client install program for Linux clients is not available either.Additionally, some POSIX flavours — even within the Linux constellation — have somewhat idiosyncratic requirements for filesystem locations.For these reasons, not all *nix distributions for Firebird even contain a client-only install option.

For most Linux flavours, the following procedure is suggested for a manual Firebird client-only install.Log in as root for this.

  1. Look for libfbclient.so.5.0.n (n being the patch version number) in /opt/firebird/lib on the machine where the Firebird server is installed.Copy it to /usr/lib on the client (or /usr/lib64 if both server and client are 64-bits).

  2. Create chained symlinks using the following commands:

    ln -s /usr/lib/libfbclient.so.5.0.n /usr/lib/libfbclient.so.2
    
    ln -s /usr/lib/libfbclient.so.2 /usr/lib/libfbclient.so

    ...replacing 5.0.n with your version number, e.g. 5.0.0 or 5.0.1

    If you’re running applications that expect the legacy libraries to be present, also create the following symlinks:

    ln -s /usr/lib/libfbclient.so /usr/lib/libgds.so.0
    
    ln -s /usr/lib/libfbclient.so /usr/lib/libgds.so
  3. Copy firebird.msg to the client machine, preferably into the /opt/firebird directory.If you place it somewhere else, create a system-wide permanent FIREBIRD environment variable pointing to the right directory, so that the API routines can locate the messages.

  4. Optionally copy the Firebird command-line tools — e.g. isql — to the client machine as needed.

Instead of copying the files from a server, you can also pull them out of a Firebird tar.gz kit.Everything you need is located in the /opt/firebird tree within the buildroot.tar.gz archive that’s packed inside the kit.

Default disk locations

The tables below show you where you’ll find the Firebird files and directories after a standard installation.Please notice that the listings are not exhaustive.

Linux

The following table shows the default component locations of a Firebird installation on Linux.Some locations may be different on other Unix-like systems, or on certain Linux distributions.

Table 1. Firebird 5.0 component locations on Linux
Component File Name Default Location

Installation directory (referred to hereafter as $(install))

-

/opt/firebird (may vary per distribution)

Configuration files

firebird.conf, databases.conf, etc.

$(install)

Release Notes and other documentation

Various files

$(install)/doc

Firebird server

firebird

$(install)/bin

Command-line tools

isql, gbak, nbackup, gfix, gstat, etc.

$(install)/bin

Plugins

libEngine13.so, libSrp.so, libudr_engine.so, etc.

$(install)/plugins

Sample database

employee.fdb

$(install)/examples/empbuild

Additional server-side libraries

libib_util.so

$(install)/lib

Client libraries

libfbclient.so.5.0.n

The usual symlinks (*.so.2, *.so) are created.Legacy libgds.* symlinks are also installed.

/usr/lib[64]

(actually, the real stuff is in $(install)/lib, but you should use the links in /usr/lib[64])