Raspberry Pi
DuckDB is not officially distributed for the Raspberry Pi OS (previously called Raspbian). You can build it following the instructions on this page.
Raspberry Pi (64-bit)
First, install the required build packages:
sudo apt-get updatesudo apt-get install -y git g++ cmake ninja-buildThen, clone and build it as follows:
git clone https://github.com/duckdb/duckdbcd duckdbGEN=ninja BUILD_EXTENSIONS="icu;json" makeFinally, run it:
build/release/duckdbRaspberry Pi (32-bit)
On 32-bit Raspberry Pi boards, you need to add the -latomic link flag.
As extensions are not distributed for this platform, it’s recommended to also include them in the build.
For example:
mkdir buildcd buildcmake .. \ -DBUILD_EXTENSIONS="httpfs;json;parquet" \ -DDUCKDB_EXTRA_LINK_FLAGS="-latomic"make -j4