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 SQLite, then the set of packages that you will need would be: odb, libodb, and libodb-sqlite.

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.

ODB is a relatively complex piece of software with several dependencies. We therefore recommend that you use the provided binary distribution packages if possible. They contain the ODB compiler and runtime library binaries for various platforms as well as the source code for the examples. See the README files linked below for details on installing the desired subset of binary packages for each platform. See Source Packages below if you are unable to use the binary packages.

Binary Packages

OS CPU Arch Current Version Checksum Notes
Debian 12 x86_64 deb packages sha256 README
Debian 11 x86_64 deb packages sha256
Ubuntu 24.04 x86_64 deb packages sha256
Ubuntu 22.04 x86_64 deb packages sha256
Fedora 41 x86_64 rpm packages sha256 README
Fedora 40 x86_64 rpm packages sha256
RHEL 9.2 x86_64 rpm packages sha256
Windows 10 x86_64 archive packages sha256 README

Source Packages

The table below lists all the source packages that constitute ODB as well as their dependencies. For step-by-step instructions on building ODB from source see Installing ODB with build2.

Description Current Version Checksum Notes
ODB compiler odb-2.5.0.tar.gz sha256
ODB common runtime library libodb-2.5.0.tar.gz
ODB SQLite runtime library libodb-sqlite-2.5.0.tar.gz
ODB PostgreSQL runtime library libodb-pgsql-2.5.0.tar.gz
ODB MySQL runtime library libodb-mysql-2.5.0.tar.gz
ODB MS SQL Server runtime library libodb-mssql-2.5.0.tar.gz
ODB Oracle runtime library libodb-oracle-2.5.0.tar.gz
ODB Qt profile library libodb-qt-2.5.0.tar.gz
ODB Boost profile library libodb-boost-2.5.0.tar.gz
ODB examples odb-examples-2.5.0.tar.gz README
ODB tests odb-tests-2.5.0.tar.gz
ODB dependencies archive packages

Other Versions

ODB 2.4.0 Download page is preserved to provide a transition period. For earlier versions see the ODB download directory. The development version is available from the ODB Git repository (GitHub mirror).