macOS
brew install gphoto2local Homebrew formula metadata
sudo port install gphoto2MacPorts ports tree · graphics/gphoto2/Portfile · 来源: api.github.com
安装
brew install gphoto2local Homebrew formula metadata
sudo port install gphoto2MacPorts ports tree · graphics/gphoto2/Portfile · 来源: api.github.com
sudo apk add gphoto2Alpine Linux edge package indexes · gphoto2 · 来源: dl-cdn.alpinelinux.org
sudo apt install gphoto2Debian stable package indexes · gphoto2 · 来源: deb.debian.org
sudo dnf install gphoto2Fedora Rawhide package metadata · gphoto2 · 来源: dl.fedoraproject.org
nix profile install nixpkgs#gphoto2nixpkgs package indexes · pkgs/by-name/gp/gphoto2/package.nix · 来源: api.github.com
sudo pacman -S gphoto2Arch Linux sync databases · gphoto2 · 来源: geo.mirror.pkgbuild.com
概览
Command-line interface to libgphoto2
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gphoto2 | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:gphoto2 |
|---|---|
| 版本 | 2.5.32 |
| 软件包管理器 | Homebrew |
| 主页 | http://www.gphoto.org/ |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-6.fc45
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 gphoto2来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.