pkg.soopen package index

brew / 排名 2016

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman 安装 gphoto2

查看 gphoto2 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install gphoto2

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install gphoto2

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add gphoto2

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

Debian apt已验证 · 92%
sudo apt install gphoto2

Debian stable package indexes · gphoto2 · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install gphoto2

Fedora Rawhide package metadata · gphoto2 · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#gphoto2

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

Arch Linux pacman已验证 · 92%
sudo pacman -S gphoto2

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

概览

软件包摘要

Command-line interface to libgphoto2

命令和别名

  • gphoto2

历史

项目历史与用法

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.

时间线

  • 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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gphoto2可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本2.5.32
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:gphoto2
版本2.5.32
软件包管理器Homebrew
主页http://www.gphoto.org/
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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
  • 匹配方式: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-6.fc45

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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation