macOS
brew install gphoto2local Homebrew formula metadata
sudo port install gphoto2MacPorts ports tree · graphics/gphoto2/Portfile · ソース: api.github.com
brew
gphoto2 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
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 | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
インストールメタデータ
| パッケージキー | brew:gphoto2 |
|---|---|
| バージョン | 2.5.32 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/gphoto2 |
| ホームページ | http://www.gphoto.org/ |
| リポジトリ | https://github.com/gphoto/gphoto2 |
| 上流ドキュメント | https://www.gphoto.org/doc/manual |
| ライセンス | GPL-2.0-or-later |
| ソースアーカイブ | https://downloads.sourceforge.net/project/gphoto/gphoto/2.5.32/gphoto2-2.5.32.tar.bz2 |
| 依存関係 | gettext, jpeg-turbo, libexif, libgphoto2, popt, readline |
| ビルド依存関係 | pkgconf |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| 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 |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの 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-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 gphoto2ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.