Automic VaultAutomic Vault

brew

gphoto2 mit Homebrew, apk, apt, dnf, MacPorts, Nix, pacman installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für gphoto2 in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install gphoto2

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install gphoto2

MacPorts ports tree · graphics/gphoto2/Portfile · Quelle: api.github.com

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add gphoto2

Alpine Linux edge package indexes · gphoto2 · Quelle: dl-cdn.alpinelinux.org

Debian aptverifiziert · 92%
sudo apt install gphoto2

Debian stable package indexes · gphoto2 · Quelle: deb.debian.org

Fedora dnfverifiziert · 92%
sudo dnf install gphoto2

Fedora Rawhide package metadata · gphoto2 · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#gphoto2

nixpkgs package indexes · pkgs/by-name/gp/gphoto2/package.nix · Quelle: api.github.com

Arch Linux pacmanverifiziert · 92%
sudo pacman -S gphoto2

Arch Linux sync databases · gphoto2 · Quelle: geo.mirror.pkgbuild.com

Überblick

Paketzusammenfassung

Command-line interface to libgphoto2

Verlauf

Projektgeschichte und Nutzung

gphoto2 is the command-line frontend for libgphoto2, the gPhoto project's camera access library. It gives Unix-like systems a scriptable way to inspect, download from, configure, and in many cases remotely control digital cameras.

Projektgeschichte

The gPhoto project describes gPhoto2 as a free, redistributable set of digital camera software applications for Unix-like systems. The gphoto2 repository README defines the package itself as the command-line frontend to libgphoto2.

The project history is inseparable from libgphoto2. The library provides camera drivers and protocol support, while the CLI exposes that support for users, scripts, tethered shooting, camera configuration, preview capture, and file operations.

The gphoto2 NEWS file records years of CLI-focused evolution: split capture and download commands, `--capture-tethered`, event waiting, movie capture, filename templating improvements, parsable file listings, EXIF retrieval, and signal-controlled long-running capture operations.

Adoptionsgeschichte

gphoto2 became a standard package in Unix-like distributions because camera access was not uniform across vendors or protocols. The gPhoto homepage explicitly names Linux, FreeBSD, NetBSD, macOS, and major Linux distributions as supported or packaged environments.

Its adoption is also tied to automation. Photographers, labs, kiosks, astrophotography setups, archive workflows, and CI-like hardware rigs can call a CLI command where GUI photo importers are too manual.

Wie es verwendet wird

Users run `gphoto2` to list cameras and files, download images, set or read camera configuration, trigger captures, wait for camera events, capture tethered sessions, and stream or save previews depending on camera support.

The manual page describes gphoto2 as a command-line client for a cross-platform digital camera library. The repository README lists libgphoto2 as the required library and popt as the command-line option dependency, with optional EXIF, JPEG, CDK, and AALIB support.

Warum Paket-Nerds sich dafür interessieren

gphoto2 is a classic package-manager favorite because it bridges hardware, scripting, and desktop media workflows. Installing it pulls together the CLI, libgphoto2, USB/serial camera support, translations, optional preview libraries, and udev-style integration handled by distributions.

For maintainers, the hard part is not the small CLI but the moving camera ecosystem underneath it. libgphoto2 NEWS entries continually add camera IDs, protocol quirks, PTP behavior, vendor-specific configuration, Android file-descriptor support, and security fixes for untrusted USB devices.

Zeitleiste

  • 2.4.2 series: NEWS records the split between capture-only and capture-and-download image commands.
  • 2.4.7 series: NEWS records wait-event, wait-event-and-download, capture-tethered, and large-file download support.
  • 2.4.10 series: NEWS records continuous movie capture via preview frames.
  • 2.5.0 series: NEWS records keep/no-keep capture options, timed wait-event forms, and full configuration tree listing.
  • 2.5.9 series: NEWS records source and issue tracking moving to GitHub.
  • 2019-10-27: GitHub releases page records gphoto2 2.5.20 with larger file ranges and added shell commands.
  • 2025-08-11: GitHub releases page records gphoto2 2.5.32 with EXIF retrieval commands and file-operation reverse ordering.

Related projects

  • Related projects include libgphoto2, gtkam, digiKam camera import support, desktop photo managers, camera tethering tools, PTP/MTP libraries, and distribution udev rules for camera access.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 8 Plattformziele verfügbar.
  • Installiert mit 6 Laufzeitabhängigkeiten.
  • Build-Metadaten listen 1 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
gphoto2cliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-10
Manager-Version2.5.32
Manager aktualisiert
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

http://www.gphoto.org/

  • InfoNo package-manager update timestamp was available.niedrig Konfidenz
  • InfoRelease/tag comparison is only available for GitHub repositories.http://www.gphoto.org/none Konfidenz

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:gphoto2
Version2.5.32
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/gphoto2
Homepagehttp://www.gphoto.org/
Repositoryhttps://github.com/gphoto/gphoto2
Upstream-Dokumentationhttps://www.gphoto.org/doc/manual
LizenzGPL-2.0-or-later
Quellarchivhttps://downloads.sourceforge.net/project/gphoto/gphoto/2.5.32/gphoto2-2.5.32.tar.bz2
Abhängigkeitengettext, jpeg-turbo, libexif, libgphoto2, popt, readline
Build-Abhängigkeitenpkgconf
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

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

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

gphoto2 2.5.28-3

digital camera command-line client

https://github.com/gphoto/gphoto2

sudo apt install gphoto2
  • Section: utils
  • Architecture: amd64
  • 10 Abhängigkeiten
  • 1 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Gphoto2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gphoto2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gphoto2

nix profile install nixpkgs#gphoto2
  • normalized package name match
  • Abgeglichen nach: Gphoto2
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gp/gphoto2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gphoto2 2.5.28-2build2

digital camera command-line client

https://github.com/gphoto/gphoto2

sudo apt install gphoto2
  • Section: universe/utils
  • Architecture: amd64
  • 10 Abhängigkeiten
  • 1 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Gphoto2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gphoto2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

gphoto2 2.5.32-r0

Commandline utilities for accessing cameras

http://www.gphoto.org/

sudo apk add gphoto2
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: gphoto2
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Gphoto2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gphoto2 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gphoto2-doc 2.5.32-r0

Commandline utilities for accessing cameras (documentation)

http://www.gphoto.org/

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

gphoto2-lang 2.5.32-r0

Languages for package gphoto2

http://www.gphoto.org/

sudo apk add gphoto2-lang
  • License: LGPL-2.1-or-later
  • Architecture: x86_64
  • Source Package: gphoto2
  • normalized package name match
  • Abgeglichen nach: Gphoto2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gphoto2-lang from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

gphoto2 2.5.28-5.fc44

Software for accessing digital cameras

http://www.gphoto.org/

sudo dnf install gphoto2
  • License: GPL-2.0-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gphoto2
  • 8 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Gphoto2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gphoto2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

gphoto2 2.5.32-1

A digital camera download and access program.

http://www.gphoto.org

sudo pacman -S gphoto2
  • License: GPL AND LGPL
  • Architecture: x86_64
  • 2 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Gphoto2
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: gphoto2 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

gphoto2

sudo port install gphoto2
  • normalized package name match
  • Abgeglichen nach: Gphoto2
MacPorts ports tree · api.github.com · MacPorts ports tree: graphics/gphoto2/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • 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