ODB Download

The ODB system consists of several packages. The essential packages are the ODB compiler (odb), the common runtime library (libodb), and the database-specific runtime library (libodb-<database>). For example, if you are planning to use MySQL, then the set of packages that you will need would be: odb, libodb, and libodb-mysql.

The optional packages include the ODB profile libraries (libodb-<profile>, for example libodb-boost, libodb-qt), examples (odb-examples), and the test suite (odb-tests). You only need a profile library if you are planning to use the corresponding profile in your application. Similarly, you only need the examples and test suite if you are interested in building the examples or running the tests.

All the packages except the ODB compiler are distributed in source code only and must be built with your C++ compiler of choice. The ODB compiler is distributed in source code as well as pre-compiled binary packages for a number of platforms. The binary packages also include a private copy of the GCC binaries that are used internally by the ODB compiler. All the packages contain the README file with the description of the package as well as the INSTALL file with the installation instructions. The ODB packages for the current stable release are listed below. For step-by-step instructions on how to install the ODB system, refer to Installing ODB on Linux/UNIX, Installing ODB on Windows, Installing ODB on Mac OS X, or Installing ODB on MinGW.

Note also that if downloading a binary package for GNU/Linux, make sure that you choose the correct architecture (i686 for 32-bit and x86_64 for 64-bit). In particular, the 32-bit package won't work on a 64-bit distribution unless you also have header files for 32-bit development installed.

Finally, the .deb and .rpm packages for the ODB compiler provide generic, "compatibility" packages that should be usable on various distributions (for example, Debian/Ubuntu and RHEL/CentOS/Fedora/SUSE/etc) and on older systems. If the ODB packages are also available from your distribution's repository, then those should generally be preferred since they would use stock GCC instead of a private copy. They would also normally provide the runtime packages in addition to the ODB compiler.

ODB Compiler
odb-2.4.0 zip | sha1 tar.gz | sha1 tar.bz2 | sha1
odb-2.4.0-i686-windows zip | sha1
odb_2.4.0-1_i386.deb deb | sha1
odb-2.4.0-1.i686.rpm rpm | sha1
odb-2.4.0-i686-linux-gnu tar.bz2 | sha1
odb_2.4.0-1_amd64.deb deb | sha1
odb-2.4.0-1.x86_64.rpm rpm | sha1
odb-2.4.0-x86_64-linux-gnu tar.bz2 | sha1
odb-2.4.0-i686-macosx tar.bz2 | sha1
odb-2.4.0-i686-solaris tar.bz2 | sha1
odb-2.4.0-sparc-solaris tar.bz2 | sha1
Common Runtime Library
libodb-2.4.0 zip | sha1 tar.gz | sha1 tar.bz2 | sha1
Database Runtime Libraries
libodb-mysql-2.4.0 zip | sha1 tar.gz | sha1 tar.bz2 | sha1
libodb-sqlite-2.4.0 zip | sha1 tar.gz | sha1 tar.bz2 | sha1
libodb-pgsql-2.4.0 zip | sha1 tar.gz | sha1 tar.bz2 | sha1
libodb-oracle-2.4.0 zip | sha1 tar.gz | sha1 tar.bz2 | sha1
libodb-mssql-2.4.0 zip | sha1 tar.gz | sha1 tar.bz2 | sha1
Profile Libraries
libodb-boost-2.4.0 zip | sha1 tar.gz | sha1 tar.bz2 | sha1
libodb-qt-2.4.0 zip | sha1 tar.gz | sha1 tar.bz2 | sha1
Tests and Examples
odb-examples-2.4.0 zip | sha1 tar.gz | sha1 tar.bz2 | sha1
odb-tests-2.4.0 zip | sha1 tar.gz | sha1 tar.bz2 | sha1

For previous versions see the ODB download directory. The development version is available from the ODB repository.