macOS
brew install libgphoto2local Homebrew formula metadata
sudo port install libgphoto2MacPorts ports tree · devel/libgphoto2/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de libgphoto2 pour les workflows d'agents IA.
installation
brew install libgphoto2local Homebrew formula metadata
sudo port install libgphoto2MacPorts ports tree · devel/libgphoto2/Portfile · Source: api.github.com
sudo apk add libgphoto2Alpine Linux edge package indexes · libgphoto2 · Source: dl-cdn.alpinelinux.org
sudo dnf install libgphoto2Fedora Rawhide package metadata · libgphoto2 · Source: dl.fedoraproject.org
nix profile install nixpkgs#libgphoto2nixpkgs package indexes · pkgs/by-name/li/libgphoto2/package.nix · Source: api.github.com
sudo pacman -S libgphoto2Arch Linux sync databases · libgphoto2 · Source: geo.mirror.pkgbuild.com
sudo apt install libgphoto2-6t64Debian stable package indexes · libgphoto2-6t64 · Source: deb.debian.org
sudo zypper install libgphoto2-6openSUSE Tumbleweed package metadata · libgphoto2-6 · Source: download.opensuse.org
aperçu
Gphoto2 digital camera library
historique
libgphoto2 is the library core of the gPhoto project, giving Unix-like systems a common way to talk to digital cameras, media players, and camera protocols such as PTP and MTP. It is the backend that lets command-line tools, desktop applications, and tethering workflows use camera hardware without each application carrying its own camera-driver stack.
The gPhoto project framed its mission around free software access to digital cameras whose vendors often published only proprietary Windows or Mac tools. The libgphoto2 project page describes the library as the core that abstracts communication ports and camera protocols, with modular port drivers and camlibs.
The libgphoto2 README calls it the successor of the original gphoto program, with additional camera drivers and a backend-library design rather than a standalone GUI. That split let gphoto2, gtkam, desktop photo tools, and other frontends share the same camera-access layer.
gPhoto reports support for more than 2700 cameras and media players on its project home page, while the generated support table dated 2026-05-30 lists 3013 supported cameras and media players for libgphoto2 2.5.34. The project also notes that PTP, MTP, and PictBridge devices can work generically without needing a specific model entry.
The README lists frontends and consumers including gphoto2, digiKam, gThumb, Shotwell, Darktable, Entangle, GIMP integration, gphotofs, and gtkam. That mix made libgphoto2 a common Linux photography dependency for import, tethering, capture, and camera metadata workflows.
Applications use libgphoto2 to detect cameras, download images, upload to picture frames, query configuration, trigger capture, and perform remote control where the camera and protocol allow it. The companion gphoto2 CLI exposes much of that power for scripts.
The library deliberately does not replace USB mass-storage handling; the project tells users to let the operating system mount mass-storage cameras. libgphoto2 is most valuable for protocol cameras and vendor-specific behavior that a normal filesystem mount cannot expose.
libgphoto2 is hardware-shaped packaging: the package is not just code, it carries camlibs, USB/PTP/MTP knowledge, udev-era history, translations, and a continually refreshed device table. A simple version bump can mean new camera IDs, changed remote-control behavior, or security fixes for parsing data from untrusted USB devices.
For package managers, it sits at the intersection of media apps, desktop environments, USB libraries, and scripting tools. It is also a reminder that old cameras and odd vendor protocols remain part of the compatibility surface long after the original hardware stopped being fashionable.
posture de sécurité
library-like package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
gphoto2-config | cli | exécutable global | |
gphoto2-port-config | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
http://www.gphoto.org/proj/libgphoto2/
métadonnées d'installation
| Clé du paquet | brew:libgphoto2 |
|---|---|
| Version | 2.5.34 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/libgphoto2 |
| Page d'accueil | http://www.gphoto.org/proj/libgphoto2/ |
| Dépôt | https://github.com/gphoto/libgphoto2 |
| Docs amont | https://gphoto.sourceforge.io/doc |
| Licence | LGPL-2.1-or-later |
| Archive source | https://downloads.sourceforge.net/project/gphoto/libgphoto/2.5.34/libgphoto2-2.5.34.tar.bz2 |
| Dernière mise à jour | 2026-05-30T14:49:37Z |
| Pulse | updated |
| Dépendances | gd, gettext, jpeg-turbo, libexif, libtool, libusb, libusb-compat |
| Dépendances de compilation | pkgconf |
| Bibliothèques fournies par macOS | curl, libxml2 |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libgphoto2 |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
libgphoto2-6t64 2.5.31-4
gphoto2 digital camera library
https://github.com/gphoto/libgphoto2/
sudo apt install libgphoto2-6t64libgphoto2-dev 2.5.31-4
gphoto2 digital camera library (development files)
https://github.com/gphoto/libgphoto2/
sudo apt install libgphoto2-devlibgphoto2-dev-doc 2.5.31-4
gphoto2 digital camera library (development documentation)
https://github.com/gphoto/libgphoto2/
sudo apt install libgphoto2-dev-doclibgphoto2-l10n 2.5.31-4
gphoto2 digital camera library - localized messages
https://github.com/gphoto/libgphoto2/
sudo apt install libgphoto2-l10nlibgphoto2-port12t64 2.5.31-4
gphoto2 digital camera port library
https://github.com/gphoto/libgphoto2/
sudo apt install libgphoto2-port12t64libgphoto2
nix profile install nixpkgs#libgphoto2libgphoto2-6t64 2.5.31-2.1build2
gphoto2 digital camera library
https://github.com/gphoto/libgphoto2/
sudo apt install libgphoto2-6t64libgphoto2-dev 2.5.31-2.1build2
gphoto2 digital camera library (development files)
https://github.com/gphoto/libgphoto2/
sudo apt install libgphoto2-devlibgphoto2-dev-doc 2.5.31-2.1build2
gphoto2 digital camera library (development documentation)
https://github.com/gphoto/libgphoto2/
sudo apt install libgphoto2-dev-doclibgphoto2-l10n 2.5.31-2.1build2
gphoto2 digital camera library - localized messages
https://github.com/gphoto/libgphoto2/
sudo apt install libgphoto2-l10nlibgphoto2-port12t64 2.5.31-2.1build2
gphoto2 digital camera port library
https://github.com/gphoto/libgphoto2/
sudo apt install libgphoto2-port12t64libgphoto2 2.5.33-r1
The core library of gphoto2, designed to allow access to digital camera by external programs
sudo apk add libgphoto2libgphoto2-dev 2.5.33-r1
The core library of gphoto2, designed to allow access to digital camera by external programs (development files)
sudo apk add libgphoto2-devlibgphoto2-doc 2.5.33-r1
The core library of gphoto2, designed to allow access to digital camera by external programs (documentation)
sudo apk add libgphoto2-doclibgphoto2-udev 2.5.33-r1
The core library of gphoto2, designed to allow access to digital camera by external programs (udev rules)
sudo apk add libgphoto2-udevlibgphoto2 2.5.33-2.fc44
Library for accessing digital cameras
sudo dnf install libgphoto2piste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.