macOS
brew install libgphoto2local Homebrew formula metadata
sudo port install libgphoto2MacPorts ports tree · devel/libgphoto2/Portfile · ソース: api.github.com
brew
libgphoto2 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install libgphoto2local Homebrew formula metadata
sudo port install libgphoto2MacPorts ports tree · devel/libgphoto2/Portfile · ソース: api.github.com
sudo apk add libgphoto2Alpine Linux edge package indexes · libgphoto2 · ソース: dl-cdn.alpinelinux.org
sudo dnf install libgphoto2Fedora Rawhide package metadata · libgphoto2 · ソース: dl.fedoraproject.org
nix profile install nixpkgs#libgphoto2nixpkgs package indexes · pkgs/by-name/li/libgphoto2/package.nix · ソース: api.github.com
sudo pacman -S libgphoto2Arch Linux sync databases · libgphoto2 · ソース: geo.mirror.pkgbuild.com
sudo apt install libgphoto2-6t64Debian stable package indexes · libgphoto2-6t64 · ソース: deb.debian.org
sudo zypper install libgphoto2-6openSUSE Tumbleweed package metadata · libgphoto2-6 · ソース: download.opensuse.org
概要
Gphoto2 digital camera library
履歴
libgphoto2 is the library core of the gPhoto project, giving Unix-like systems a common way to talk to digital cameras, media players, and camera protocols such as PTP and MTP. It is the backend that lets command-line tools, desktop applications, and tethering workflows use camera hardware without each application carrying its own camera-driver stack.
The gPhoto project framed its mission around free software access to digital cameras whose vendors often published only proprietary Windows or Mac tools. The libgphoto2 project page describes the library as the core that abstracts communication ports and camera protocols, with modular port drivers and camlibs.
The libgphoto2 README calls it the successor of the original gphoto program, with additional camera drivers and a backend-library design rather than a standalone GUI. That split let gphoto2, gtkam, desktop photo tools, and other frontends share the same camera-access layer.
gPhoto reports support for more than 2700 cameras and media players on its project home page, while the generated support table dated 2026-05-30 lists 3013 supported cameras and media players for libgphoto2 2.5.34. The project also notes that PTP, MTP, and PictBridge devices can work generically without needing a specific model entry.
The README lists frontends and consumers including gphoto2, digiKam, gThumb, Shotwell, Darktable, Entangle, GIMP integration, gphotofs, and gtkam. That mix made libgphoto2 a common Linux photography dependency for import, tethering, capture, and camera metadata workflows.
Applications use libgphoto2 to detect cameras, download images, upload to picture frames, query configuration, trigger capture, and perform remote control where the camera and protocol allow it. The companion gphoto2 CLI exposes much of that power for scripts.
The library deliberately does not replace USB mass-storage handling; the project tells users to let the operating system mount mass-storage cameras. libgphoto2 is most valuable for protocol cameras and vendor-specific behavior that a normal filesystem mount cannot expose.
libgphoto2 is hardware-shaped packaging: the package is not just code, it carries camlibs, USB/PTP/MTP knowledge, udev-era history, translations, and a continually refreshed device table. A simple version bump can mean new camera IDs, changed remote-control behavior, or security fixes for parsing data from untrusted USB devices.
For package managers, it sits at the intersection of media apps, desktop environments, USB libraries, and scripting tools. It is also a reminder that old cameras and odd vendor protocols remain part of the compatibility surface long after the original hardware stopped being fashionable.
セキュリティ状態
library-like package without higher-risk signals.
リスク グリーン · 信頼度 低 · appliance
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
gphoto2-config | cli | グローバル実行可能ファイル | |
gphoto2-port-config | cli | グローバル実行可能ファイル |
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
http://www.gphoto.org/proj/libgphoto2/
インストールメタデータ
| パッケージキー | brew:libgphoto2 |
|---|---|
| バージョン | 2.5.34 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/libgphoto2 |
| ホームページ | http://www.gphoto.org/proj/libgphoto2/ |
| リポジトリ | https://github.com/gphoto/libgphoto2 |
| 上流ドキュメント | https://gphoto.sourceforge.io/doc |
| ライセンス | LGPL-2.1-or-later |
| ソースアーカイブ | https://downloads.sourceforge.net/project/gphoto/libgphoto/2.5.34/libgphoto2-2.5.34.tar.bz2 |
| 最終更新 | 2026-05-30T14:49:37Z |
| Pulse | updated |
| 依存関係 | gd, gettext, jpeg-turbo, libexif, libtool, libusb, libusb-compat |
| ビルド依存関係 | pkgconf |
| macOS 提供ライブラリ | curl, libxml2 |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libgphoto2 |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
libgphoto2-6t64 2.5.31-4
gphoto2 digital camera library
https://github.com/gphoto/libgphoto2/
sudo apt install libgphoto2-6t64libgphoto2-dev 2.5.31-4
gphoto2 digital camera library (development files)
https://github.com/gphoto/libgphoto2/
sudo apt install libgphoto2-devlibgphoto2-dev-doc 2.5.31-4
gphoto2 digital camera library (development documentation)
https://github.com/gphoto/libgphoto2/
sudo apt install libgphoto2-dev-doclibgphoto2-l10n 2.5.31-4
gphoto2 digital camera library - localized messages
https://github.com/gphoto/libgphoto2/
sudo apt install libgphoto2-l10nlibgphoto2-port12t64 2.5.31-4
gphoto2 digital camera port library
https://github.com/gphoto/libgphoto2/
sudo apt install libgphoto2-port12t64libgphoto2
nix profile install nixpkgs#libgphoto2libgphoto2-6t64 2.5.31-2.1build2
gphoto2 digital camera library
https://github.com/gphoto/libgphoto2/
sudo apt install libgphoto2-6t64libgphoto2-dev 2.5.31-2.1build2
gphoto2 digital camera library (development files)
https://github.com/gphoto/libgphoto2/
sudo apt install libgphoto2-devlibgphoto2-dev-doc 2.5.31-2.1build2
gphoto2 digital camera library (development documentation)
https://github.com/gphoto/libgphoto2/
sudo apt install libgphoto2-dev-doclibgphoto2-l10n 2.5.31-2.1build2
gphoto2 digital camera library - localized messages
https://github.com/gphoto/libgphoto2/
sudo apt install libgphoto2-l10nlibgphoto2-port12t64 2.5.31-2.1build2
gphoto2 digital camera port library
https://github.com/gphoto/libgphoto2/
sudo apt install libgphoto2-port12t64libgphoto2 2.5.33-r1
The core library of gphoto2, designed to allow access to digital camera by external programs
sudo apk add libgphoto2libgphoto2-dev 2.5.33-r1
The core library of gphoto2, designed to allow access to digital camera by external programs (development files)
sudo apk add libgphoto2-devlibgphoto2-doc 2.5.33-r1
The core library of gphoto2, designed to allow access to digital camera by external programs (documentation)
sudo apk add libgphoto2-doclibgphoto2-udev 2.5.33-r1
The core library of gphoto2, designed to allow access to digital camera by external programs (udev rules)
sudo apk add libgphoto2-udevlibgphoto2 2.5.33-2.fc44
Library for accessing digital cameras
sudo dnf install libgphoto2ソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.