# Installing

Installation depends on which format you choose to download. If you've got a package such as RPM or DEB, check your package manager documentation for how to install new packages.

If you downloaded the source code (in a tarball), you must compile the software. For doing so, once you have unpacked the source tree, you must:

              $./configure
              $make
              $make install

This will generate the makefiles for your specific platform, compile all the source tree, and install the binaries and documentation in your system.

If you don't find a file named `configure`, there should be one called `autogen.sh`. In this case, run `autogen.sh`, which will create and run the generated `configure` file.

You can specify several arguments to `configure` (or `autogen.sh`). The most significant are (you can check all the available arguments by running configure --help):

- `--prefix=<directory>`: Prefix where package will be installed

- `--with-mysql=<directory>`: Specify directory where MySQL libraries are installed

- `--with-postgres=<directory>`: Specify directory where PostgreSQL libraries are installed

- `--with-sybase=<directory>`: Specify directory where Sybase libraries are installed

- `--with-ldap=<directory>`: Specify directory where LDAP libraries are installed

- `--with-oracle=<directory>`: Specify directory where Oracle libraries are installed

- `--with-interbase=<directory>`: Specify directory where Interbase libraries are installed

- `--with-mdb=<directory>`: Specify directory where the MDB libraries (for accessing MS Access files) are installed

- `--with-sqlite=<directory>`: Specify directory where the SQLite libraries are installed

Providers are not installed by default, so you must specifically add those arguments when running `configure`.

If you find any problem during the configuration, compilation or installation process, do not hesitate in contacting the GNOME-DB mailing list (`<gnome-db-list@gnome.org>`, first send an email to `<gnome-db-list-request@gnome.org>` with the subject SUBSCRIBE, if you are not already subscribed).

## Debian installation

If you are using Debian you will need to install a few packages in the following way:

                $  apt-get install package-names

These are the packages you will need for this:

- libgda2-1
- libgda2-common
- libgda2-dev
- libgda2-doc
- libgda2-dbg

You can obtain information about any packages with:

                $  apt-cache show package-names

If you cannot find this packages, you must include in `/etc/apt/sources.list` a line like this:

                deb http://gluck.debian.org/~kov/debian woody gnome2