Automic VaultAutomic Vault

brew

Installer libgphoto2 avec Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de libgphoto2 pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install libgphoto2

local Homebrew formula metadata

MacPortsvérifié · 94%
sudo port install libgphoto2

MacPorts ports tree · devel/libgphoto2/Portfile · Source: api.github.com

Linux

Alpine Linux apkvérifié · 92%
sudo apk add libgphoto2

Alpine Linux edge package indexes · libgphoto2 · Source: dl-cdn.alpinelinux.org

Fedora dnfvérifié · 92%
sudo dnf install libgphoto2

Fedora Rawhide package metadata · libgphoto2 · Source: dl.fedoraproject.org

Nixvérifié · 92%
nix profile install nixpkgs#libgphoto2

nixpkgs package indexes · pkgs/by-name/li/libgphoto2/package.nix · Source: api.github.com

Arch Linux pacmanvérifié · 92%
sudo pacman -S libgphoto2

Arch Linux sync databases · libgphoto2 · Source: geo.mirror.pkgbuild.com

Debian aptvérifié · 92%
sudo apt install libgphoto2-6t64

Debian stable package indexes · libgphoto2-6t64 · Source: deb.debian.org

openSUSE zyppervérifié · 92%
sudo zypper install libgphoto2-6

openSUSE Tumbleweed package metadata · libgphoto2-6 · Source: download.opensuse.org

aperçu

Résumé du paquet

Gphoto2 digital camera library

Commandes et alias

  • gphoto2-config
  • gphoto2-port-config

historique

Historique du projet et usages

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.

Historique du projet

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.

Historique d'adoption

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 2000: The generated support output credits gphoto2 copyright beginning in 2000.
  • 2015-08-01: The gPhoto project announced migration to GitHub for code hosting and issue tracking.
  • 2022-01-03: libgphoto2 and gphoto2 2.5.28 were announced with cleanup of obsolete OS/2 and hotplug packaging support.
  • 2025-07-06: libgphoto2 and gphoto2 2.5.32 were announced with Meson build support, runtime-configurable library paths, and many camera IDs.
  • 2026-05-30: libgphoto2 2.5.34 was announced and the support page listed 3013 supported cameras and media players.

Related projects

  • gphoto2 is the command-line frontend that exposes libgphoto2 functions for users and scripts.
  • gtkam, gphotofs, digiKam, gThumb, Shotwell, Darktable, Entangle, and GIMP integrations are examples of applications or frontends using the library.
  • PTP, MTP, and PictBridge are camera/media protocols that shape libgphoto2's driver model.

posture de sécurité

Niveau de risque : vert

library-like package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • library-like package without higher-risk signals

Signaux

  • metadata:library-like

Comportement d'installation

  • Aucun hook post-install Homebrew n’est enregistré dans les métadonnées de formule.
  • Les métadonnées de bottle Homebrew sont disponibles pour 6 plateformes.
  • S’installe avec 7 dépendances d’exécution.
  • Les métadonnées de compilation listent 1 dépendances de compilation.

Revue recommandée

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

Exécutables installés

CommandeTypeExpositionNote
gphoto2-configcliexécutable global
gphoto2-port-configcliexécutable global

fraîcheur

Version et 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.

page générée2026-07-10
version du gestionnaire2.5.34
gestionnaire mis à jour2026-05-30
données localesOK
amontnot checked
dernière version détectéenon détecté

http://www.gphoto.org/proj/libgphoto2/

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:libgphoto2
Version2.5.34
Gestionnaire de paquetsHomebrew
Page du gestionnaire de paquetshttps://formulae.brew.sh/formula/libgphoto2
Page d'accueilhttp://www.gphoto.org/proj/libgphoto2/
Dépôthttps://github.com/gphoto/libgphoto2
Docs amonthttps://gphoto.sourceforge.io/doc
LicenceLGPL-2.1-or-later
Archive sourcehttps://downloads.sourceforge.net/project/gphoto/libgphoto/2.5.34/libgphoto2-2.5.34.tar.bz2
Dernière mise à jour2026-05-30T14:49:37Z
Pulseupdated
Dépendancesgd, gettext, jpeg-turbo, libexif, libtool, libusb, libusb-compat
Dépendances de compilationpkgconf
Bibliothèques fournies par macOScurl, libxml2
Bouteilledisponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
post-install Homebrewnon défini
Serviceaucun déclaré

faits du registre

Détails de la base source

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibgphoto2
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

correspondances dans les bases sources

Autres enregistrements de gestionnaires de paquets

Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.

Debian apt95%

libgphoto2-6t64 2.5.31-4

gphoto2 digital camera library

https://github.com/gphoto/libgphoto2/

sudo apt install libgphoto2-6t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libgphoto2
  • 8 Dépendances
  • 1 fournit
  • 2 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Libgphoto2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgphoto2-6t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgphoto2-dev 2.5.31-4

gphoto2 digital camera library (development files)

https://github.com/gphoto/libgphoto2/

sudo apt install libgphoto2-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libgphoto2
  • 3 Dépendances
  • normalized package name match
  • Correspondance par : Libgphoto2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgphoto2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgphoto2-dev-doc 2.5.31-4

gphoto2 digital camera library (development documentation)

https://github.com/gphoto/libgphoto2/

sudo apt install libgphoto2-dev-doc
  • Section: doc
  • Architecture: all
  • Source Package: libgphoto2
  • normalized package name match
  • Correspondance par : Libgphoto2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgphoto2-dev-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgphoto2-l10n 2.5.31-4

gphoto2 digital camera library - localized messages

https://github.com/gphoto/libgphoto2/

sudo apt install libgphoto2-l10n
  • Section: localization
  • Architecture: all
  • Source Package: libgphoto2
  • normalized package name match
  • Correspondance par : Libgphoto2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgphoto2-l10n from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libgphoto2-port12t64 2.5.31-4

gphoto2 digital camera port library

https://github.com/gphoto/libgphoto2/

sudo apt install libgphoto2-port12t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libgphoto2
  • 3 Dépendances
  • 1 fournit
  • 1 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Libgphoto2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libgphoto2-port12t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libgphoto2

nix profile install nixpkgs#libgphoto2
  • normalized package name match
  • Correspondance par : Libgphoto2
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libgphoto2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libgphoto2-6t64 2.5.31-2.1build2

gphoto2 digital camera library

https://github.com/gphoto/libgphoto2/

sudo apt install libgphoto2-6t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libgphoto2
  • 8 Dépendances
  • 1 fournit
  • 2 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Libgphoto2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgphoto2-6t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libgphoto2-dev 2.5.31-2.1build2

gphoto2 digital camera library (development files)

https://github.com/gphoto/libgphoto2/

sudo apt install libgphoto2-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libgphoto2
  • 3 Dépendances
  • normalized package name match
  • Correspondance par : Libgphoto2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgphoto2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libgphoto2-dev-doc 2.5.31-2.1build2

gphoto2 digital camera library (development documentation)

https://github.com/gphoto/libgphoto2/

sudo apt install libgphoto2-dev-doc
  • Section: doc
  • Architecture: all
  • Source Package: libgphoto2
  • normalized package name match
  • Correspondance par : Libgphoto2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgphoto2-dev-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libgphoto2-l10n 2.5.31-2.1build2

gphoto2 digital camera library - localized messages

https://github.com/gphoto/libgphoto2/

sudo apt install libgphoto2-l10n
  • Section: localization
  • Architecture: all
  • Source Package: libgphoto2
  • normalized package name match
  • Correspondance par : Libgphoto2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgphoto2-l10n from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libgphoto2-port12t64 2.5.31-2.1build2

gphoto2 digital camera port library

https://github.com/gphoto/libgphoto2/

sudo apt install libgphoto2-port12t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libgphoto2
  • 3 Dépendances
  • 1 fournit
  • 1 dépendances optionnelles
  • normalized package name match
  • Correspondance par : Libgphoto2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libgphoto2-port12t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

libgphoto2 2.5.33-r1

The core library of gphoto2, designed to allow access to digital camera by external programs

http://www.gphoto.org

sudo apk add libgphoto2
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libgphoto2
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Libgphoto2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libgphoto2 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libgphoto2-dev 2.5.33-r1

The core library of gphoto2, designed to allow access to digital camera by external programs (development files)

http://www.gphoto.org

sudo apk add libgphoto2-dev
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libgphoto2
  • 1 Dépendances
  • 1 fournit
  • normalized package name match
  • Correspondance par : Libgphoto2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libgphoto2-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libgphoto2-doc 2.5.33-r1

The core library of gphoto2, designed to allow access to digital camera by external programs (documentation)

http://www.gphoto.org

sudo apk add libgphoto2-doc
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libgphoto2
  • normalized package name match
  • Correspondance par : Libgphoto2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libgphoto2-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libgphoto2-udev 2.5.33-r1

The core library of gphoto2, designed to allow access to digital camera by external programs (udev rules)

http://www.gphoto.org

sudo apk add libgphoto2-udev
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: libgphoto2
  • normalized package name match
  • Correspondance par : Libgphoto2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libgphoto2-udev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

libgphoto2 2.5.33-2.fc44

Library for accessing digital cameras

http://www.gphoto.org/

sudo dnf install libgphoto2
  • License: 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
  • Category: Unspecified
  • Architecture: i686
  • Source Package: libgphoto2
  • 13 Dépendances
  • 3 fournit
  • normalized package name match
  • Correspondance par : Libgphoto2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: libgphoto2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment