Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

89.3. duckdb-1.5.5

In-process SQL database that queries CSV, JSON and Parquet files directly

1.5.5-1 · MIT · 30.6 SBU · 259.3 MiB, 1363 files · 41_system, 335 of 1047 · ports/core/database/duckdb

Homepage: https://duckdb.org/

Why it is in KDOS. The comment above it in script/phases/41_system/packages.d/database.txt:

SQL over CSV, JSON and Parquet with no server and no import step. The two autoload flags are the point: by default it DOWNLOADS an extension from duckdb.org the first time a query needs one, so reading a Parquet file offline fails at run time with a message about an extension.

Depends on: cmake, ninja.

Required by (1): usql.

Sources: duckdb-1.5.5.tar.gz (96.5 MiB). Every step kpkg takes applies to this port.

Optional, off in KDOS. These switches in build.sh turn off a feature whose library is a port here. The recipe may turn each off on purpose, or because the library was not yet a port when the recipe was written; this list cannot tell which.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install duckdb'

build.sh:

mkdir -p build && cd build
cmake .. -G Ninja -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
	-DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib \
	-DOVERRIDE_GIT_DESCRIBE=v$version-0-g0000000000 \
	-DENABLE_JEMALLOC=OFF \
	-DBUILD_SHELL=ON -DBUILD_UNITTESTS=OFF \
	-DENABLE_EXTENSION_AUTOLOADING=0 -DENABLE_EXTENSION_AUTOINSTALL=0 \
	-DBUILD_EXTENSIONS="parquet;json;icu;autocomplete"
ninja
DESTDIR=$PKG ninja install

Programs: duckdb.

Libraries: libautocomplete_extension.a, libcore_functions_extension.a, libduckdb.so, libduckdb_fastpforlib.a, libduckdb_fmt.a, libduckdb_fsst.a, libduckdb_generated_extension_loader.a, libduckdb_hyperloglog.a, libduckdb_mbedtls.a, libduckdb_miniz.a, libduckdb_pg_query.a, libduckdb_re2.a, libduckdb_skiplistlib.a, libduckdb_static.a, libduckdb_utf8proc.a, libduckdb_yyjson.a, libduckdb_zstd.a, libdummy_static_extension_loader.a, libicu_extension.a, libjson_extension.a, libparquet_extension.a.

Directories: /usr/include/duckdb, /usr/lib/cmake/DuckDB, /usr/share/licenses/duckdb.