libgphoto2(3)

libgphoto23

Cross-platform digital camera library

Usage

#include <gphoto2/gphoto2.h>

Overview

The gphoto2 library provides applications with access to a variety of cameras.

This man page will be extended with autogenerated documentation of the interface types and methods used for communication between the gphoto2 library and a frontend.

Files

~/.gphoto/settings

Here gphoto2 applications may store their configuration used to access gphoto2.

To track down errors, you can add the --debug parameter to the gphoto2 command line and, if dealing with USB problems, setting the environment variable USB_DEBUG=1.

Environment

CAMLIBS

If set, defines the directory where the libgphoto2 library looks for its camera drivers (camlibs). You only need to set this on Windows systems and broken/test installations.

IOLIBS

If set, defines the directory where the libgphoto2_port library looks for its I/O drivers (iolibs). You only need to set this on Windows systems and broken/test installations.

LD_DEBUG

Set this to all to receive lots of debug information regarding library loading on ld based systems.

USB_DEBUG

If set, defines the numeric debug level with which the libusb library will print messages. In order to get some debug output, set it to 1.

References

1. gphoto website

http://www.gphoto.org/

Releases

12 releases since Debian 3.1 (Sarge); the text changed 3 times.

  1. 3.1
  2. 4.0
  3. 5.0–11
  4. 12–Arch

Author

The gPhoto2 Team.
Hans Ulrich Niedermann <[email protected]>. (man page)

From libgphoto2 2.5.34-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.