macOS
brew install gphoto2local Homebrew formula metadata
sudo port install gphoto2MacPorts ports tree · graphics/gphoto2/Portfile · Source: api.github.com
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de gphoto2 pour les workflows d'agents IA.
installation
brew install gphoto2local Homebrew formula metadata
sudo port install gphoto2MacPorts ports tree · graphics/gphoto2/Portfile · Source: api.github.com
sudo apk add gphoto2Alpine Linux edge package indexes · gphoto2 · Source: dl-cdn.alpinelinux.org
sudo apt install gphoto2Debian stable package indexes · gphoto2 · Source: deb.debian.org
sudo dnf install gphoto2Fedora Rawhide package metadata · gphoto2 · Source: dl.fedoraproject.org
nix profile install nixpkgs#gphoto2nixpkgs package indexes · pkgs/by-name/gp/gphoto2/package.nix · Source: api.github.com
sudo pacman -S gphoto2Arch Linux sync databases · gphoto2 · Source: geo.mirror.pkgbuild.com
aperçu
Command-line interface to libgphoto2
historique
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.
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.
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.
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.
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.
posture de sécurité
narrow executable 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 | 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.
métadonnées d'installation
| Clé du paquet | brew:gphoto2 |
|---|---|
| Version | 2.5.32 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/gphoto2 |
| Page d'accueil | http://www.gphoto.org/ |
| Dépôt | https://github.com/gphoto/gphoto2 |
| Docs amont | https://www.gphoto.org/doc/manual |
| Licence | GPL-2.0-or-later |
| Archive source | https://downloads.sourceforge.net/project/gphoto/gphoto/2.5.32/gphoto2-2.5.32.tar.bz2 |
| Dépendances | gettext, jpeg-turbo, libexif, libgphoto2, popt, readline |
| Dépendances de compilation | pkgconf |
| Bouteille | disponible (sur arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, 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 | gphoto2 |
| Version Scheme | 0 |
| Revision | 0 |
| 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.
gphoto2 2.5.28-3
digital camera command-line client
https://github.com/gphoto/gphoto2
sudo apt install gphoto2gphoto2
nix profile install nixpkgs#gphoto2gphoto2 2.5.28-2build2
digital camera command-line client
https://github.com/gphoto/gphoto2
sudo apt install gphoto2gphoto2 2.5.32-r0
Commandline utilities for accessing cameras
sudo apk add gphoto2gphoto2-doc 2.5.32-r0
Commandline utilities for accessing cameras (documentation)
sudo apk add gphoto2-docgphoto2-lang 2.5.32-r0
Languages for package gphoto2
sudo apk add gphoto2-langgphoto2 2.5.28-5.fc44
Software for accessing digital cameras
sudo dnf install gphoto2gphoto2 2.5.32-1
A digital camera download and access program.
sudo pacman -S gphoto2gphoto2
sudo port install gphoto2piste 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.