LibCamera/RPiCamera on pi zero 2w

I’m currently trying to set up libcamera on the raspberry pi zero 2 w. Using balenalib/raspberrypi0-2w-64-debian on both bullseye and bookworm, install_packages is unable to find libcamera. At this point I’m manually building libcamera and rpicam-apps.

Is there a quick way to add an install path to libcamera?

Hi @Frank700 and welcome to the forums!

install_packages is merely a wrapper around your OS package manager. In your case it translates to:

RUN apt-get update -qq
RUN apt-get install libcamera -y --no-install-recommends

From what I can tell there is no package called libcamera available in Debian (bookworm or bullseye). A quick search here gives you all packages with a name containing libcamera: Debian -- Package Search Results -- libcamera

Hope that helps.

Hi @drskullster!
Thanks for the warm welcome!

You’re totally right about the lack of a module called libcamera. That was a typ on my end.
What I meant to refer to was python3-picamera2 and the associated RPi-specific packages. It seems that these packages are only able to be found on certain versions of the Raspberry Pi base images (i.e. raspberrypi3-64-debian:bullseye, but not the associated bookworm image, nor any of the raspberry pi zero 2W versions.

It would be great to get parity across the raspberry pi images if this is possible!