Pre-built binaries are provided for Linux (with glibc 2.14+) in x86_64 (amd64) architecture.
-
Go to the GitHub releases page https://github.com/kennytm/dbgen/releases.
-
Scroll to the Assets section.
-
Download the file with name like
dbgen-vX.Y.Z-x86_64-unknown-linux-gnu.tar.xz
. -
Extract the archive. The executables inside can be run immediately.
tar xf dbgen-*.tar.xz chmod a+x bin/* bin/dbgen --help
On other platforms, dbgen
can be built from source via cargo install
.
-
Install a C compiler (e.g.
gcc
orclang
) andpkg-config
tool. These can typically be found in the system package manager. -
Install the latest stable Rust compiler with Cargo package manager.
-
Once
cargo
is installed, runcargo install dbgen
to build and install
dbgen
into~/.cargo/bin/
.