Getting Started

To fetch the sources, build and install:

git clone git://
cd libcamera
meson build
ninja -C build install


The following Debian/Ubuntu packages are required for building libcamera. Other distributions may have differing package names:

A C++ toolchain: [required]
Either {g++, clang}
for libcamera: [required]

meson (>= 0.47) ninja-build python3-yaml

If your distribution doesn’t provide a recent enough version of meson, you can install or upgrade it using pip3.

pip3 install --user meson
pip3 install --user --upgrade meson
for device hotplug enumeration: [optional]
pkg-config libudev-dev
for qcam: [optional]
qtbase5-dev libqt5core5a libqt5gui5 libqt5widgets5
for documentation: [optional]
python3-sphinx doxygen