LIBGPHOTO2(3)
β¨ NAME β¨
okay so bestie, meet libgphoto2 β it's the cross-platform digital camera library π (this is the LIBGPHOTO2(3) page from The gPhoto2 Reference, section 3 of the manual, if you were wondering where you wandered into π)
πΈ SYNOPSIS πΈ
#include <gphoto2/gphoto2.h>
like that's it, that's the doorway, just let her in π«Ά
π DESCRIPTION π
The gphoto2 library hands your applications access to a whole variety of cameras. yes, a variety, she's versatile, she's multitalented, she contains multitudes π₯
This man page is gonna get extended with autogenerated documentation of the interface types and methods used for communication between the gphoto2 library and a frontend. so like... right now she's a work in progress and that's iconic of her honestly β¨
π FILES π
~/.gphoto/settingsβ here, gphoto2 applications may store their configuration used to access gphoto2. it's her little diary, respect it π
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. detective mode activated π
πΈ ENVIRONMENT VARIABLES πΈ
CAMLIBSβ if set, defines the directory where thelibgphoto2library looks for its camera drivers (camlibs). You only need to set this on Windows systems and broken/test installations. so like, don't touch it unless things are weird, okay? πIOLIBSβ if set, defines the directory where thelibgphoto2_portlibrary looks for its I/O drivers (iolibs). You only need to set this on Windows systems and broken/test installations. same energy, different lib, periodt πLD_DEBUGβ set this toallto receive lots of debug information regarding library loading onldbased systems. it's giving info dump, and honestly? we love a chatty linker π£οΈUSB_DEBUGβ if set, defines the numeric debug level with which thelibusblibrary will print messages. In order to get some debug output, set it to1. lowkey just set it to1and vibe π
π SEE ALSO π
gphoto2(1)libgphoto2_port(3)- The gPhoto2 Manual
- automatically generated API docs
- [1] gphoto website
iykyk, go read the siblings too, they're all slaying in their own lanes π¦
π AUTHOR π
The gPhoto2 Team.
Hans Ulrich Niedermann <gp@n-dimensional.de>. (man page)
not me thanking the whole team, they literally built this π
β REFERENCES β
- gphoto website β
http://www.gphoto.org/
bestie reminder: this whole page is from The gPhoto2 Reference,libgphoto2(3), dated 08/16/2006, footer readsLIBGPHOTO2(3)β go forth and photograph everything, you got this ππ β¨
π¦ where this page comes from
- alpine 3.24: libgphoto2-doc 2.5.33-r1 Β· LGPL-2.1-or-later
- arch rolling: libgphoto2 2.5.34-1 Β· LGPL-2.1-or-later
- centos-stream 10: libgphoto2-devel 2.5.30-10.el10 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later AND BSD-3-Clause AND IJG-short AND (MIT OR Unlicense)
- debian bookworm: libgphoto2-dev 2.5.30-1 Β· LGPL-2.0-or-later
- debian trixie: libgphoto2-dev 2.5.31-4 Β· LGPL-2.0-or-later
- fedora 43: libgphoto2-devel 2.5.31-4.fc43 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later AND BSD-3-Clause AND IJG-short AND (MIT OR Unlicense)
- fedora 43: libgphoto2-devel 2.5.31-4.fc43 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later AND BSD-3-Clause AND IJG-short AND (MIT OR Unlicense)
- fedora 43: libgphoto2-devel 2.5.33-1.fc43 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later AND BSD-3-Clause AND IJG-short AND (MIT OR Unlicense)
- fedora 43: libgphoto2-devel 2.5.33-1.fc43 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later AND BSD-3-Clause AND IJG-short AND (MIT OR Unlicense)
- fedora 44: libgphoto2-devel 2.5.33-2.fc44 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later AND BSD-3-Clause AND IJG-short AND (MIT OR Unlicense)
- fedora 44: libgphoto2-devel 2.5.33-2.fc44 Β· GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-3.0-or-later AND BSD-3-Clause AND IJG-short AND (MIT OR Unlicense)
- nixos 26.05: libgphoto2 2.5.34
- nixpkgs unstable: libgphoto2 2.5.34
- opensuse-leap 16.0: libgphoto2-doc 2.5.31-160000.2.2 Β· LGPL-2.1-or-later
- ubuntu noble: libgphoto2-dev 2.5.31-2.1build2 Β· LGPL-2.0-or-later
- ubuntu noble: libgphoto2-dev 2.5.31-2.1ubuntu1.1 Β· LGPL-2.0-or-later
- ubuntu questing: libgphoto2-dev 2.5.31-4build1
- ubuntu questing: libgphoto2-dev 2.5.31-4ubuntu1
- ubuntu resolute: libgphoto2-dev 2.5.33-1ubuntu1 Β· LGPL-2.0-or-later
- ubuntu resolute: libgphoto2-dev 2.5.33-1ubuntu1.1 Β· LGPL-2.0-or-later
- ubuntu stonking: libgphoto2-dev 2.5.33-1ubuntu2 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms