Compiling Duckdb On Openbsd

Last updated: Nov 7, 2024

Unfortunately duckdb doesn’t have an official package for OpenBSD so we need to compile it from source.

It turns out you can’t get extensions after compilation because there are no official packages for OpenBSD. So make sure to compile with the extensions you need.

Switch to a known release tag: git checkout tags/v1.1.2

  • pkg_add gmake cmake
  • git clone https://github.com/duckdb/duckdb.git
  • cd duckdb
  • CORE_EXTENSIONS='autocomplete;httpfs;icu;parquet;json' gmake

Need to print shipping labels on your site?

Checkout my product RocketShipIt for simple easy-to-use developer tools for UPS™ FedEx™ USPS™ and more.

Get notified on new posts or other things I'm working on

Share: