pkg.soopen package index

brew / 順位 3002

libmtp を Homebrew, apk, dnf, MacPorts, Nix, pacman, apt, zypper でインストール

libmtp のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install libmtp

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install libmtp

MacPorts ports tree · multimedia/libmtp/Portfile · ソース: api.github.com

Linux

Alpine Linux apk確認済み · 92%
sudo apk add libmtp

Alpine Linux edge package indexes · libmtp · ソース: dl-cdn.alpinelinux.org

Fedora dnf確認済み · 92%
sudo dnf install libmtp

Fedora Rawhide package metadata · libmtp · ソース: dl.fedoraproject.org

Nix確認済み · 92%
nix profile install nixpkgs#libmtp

nixpkgs package indexes · pkgs/by-name/li/libmtp/package.nix · ソース: api.github.com

Arch Linux pacman確認済み · 92%
sudo pacman -S libmtp

Arch Linux sync databases · libmtp · ソース: geo.mirror.pkgbuild.com

Debian apt確認済み · 92%
sudo apt install libmtp-common

Debian stable package indexes · libmtp-common · ソース: deb.debian.org

openSUSE zypper確認済み · 92%
sudo zypper install libmtp-devel

openSUSE Tumbleweed package metadata · libmtp-devel · ソース: download.opensuse.org

概要

パッケージ概要

Implementation of Microsoft's Media Transfer Protocol (MTP)

コマンドとエイリアス

  • mtp-albumart
  • mtp-albums
  • mtp-connect
  • mtp-delfile
  • mtp-detect
  • mtp-emptyfolders
  • mtp-files
  • mtp-filetree
  • mtp-folders
  • mtp-format
  • mtp-getfile
  • mtp-getplaylist
  • mtp-hotplug
  • mtp-newfolder
  • mtp-newplaylist
  • mtp-playlists
  • mtp-reset
  • mtp-sendfile
  • mtp-sendtr
  • mtp-thumb
  • mtp-tracks
  • mtp-trexist

履歴

プロジェクトの歴史と使われ方

libmtp is a POSIX-oriented C implementation of the Media Transfer Protocol initiator side: host software talks to MTP responders such as media players, phones, and other portable devices.

プロジェクトの歴史

The project grew around the practical problem that MTP devices are not normal mounted filesystems. The upstream homepage describes libmtp as an initiator implementation of MTP Basic, and the README explains the difference between a host-side initiator and a device-side responder.

Copyright notices in the public headers and examples show active authorship beginning in 2005, including Linus Walleij and other contributors. Over time the project accumulated a large device database, examples, command-line tools, and downstream integrations for desktop environments and media applications.

採用の歴史

The libmtp homepage explicitly lists downstreams and related clients such as GVFS MTP support for GNOME, KIO-MTP for KDE, go-mtpfs, XNJB, Gnomad2, Amarok, and Rhythmbox. That downstream list captures why the library became the common Unix packaging point for MTP access.

Package managers ship both the shared library and many small mtp-* utilities, letting users inspect devices, transfer files, manage playlists, and debug unknown vendor/product IDs without writing code.

使われ方

Typical usage is through desktop file managers, media players, FUSE clients, or the bundled commands such as mtp-detect, mtp-files, mtp-getfile, and mtp-sendfile. The upstream site asks users with unrecognized devices to submit USB IDs and mtp-detect output, reflecting the device-quirk maintenance model.

パッケージ好きにとっての重要性

libmtp matters to packagers because it turns a messy device protocol and vendor-ID database into one shared dependency. It is also a classic example of a library whose command-line tools are as important for debugging support tickets as the library ABI is for applications.

タイムライン

  • 2005: Public source copyright notices begin for libmtp authorship and examples.
  • 2007: Additional contributors and device support appear in public source copyright notices.
  • 2008: Several libmtp source files record continued authorship and device-support work.
  • 2010s: GNOME, KDE, FUSE, and media-player clients use libmtp or related MTP access paths.
  • 2020s: The project maintains SourceForge and GitHub source surfaces plus release packaging across Unix distributions.

Related projects

  • libmtp is related to libgphoto2's PTP/MTP handling, but the README explains that libmtp stays closer to the MTP object model rather than presenting everything as files. Desktop integrations include GVFS and KIO-MTP, while go-mtpfs and XNJB are standalone client examples.

セキュリティ状態

リスクレベル: blue

broad file, network, media, or database tool signal.

リスク分類器

リスク blue · 信頼度 中 · tool

理由

  • broad file, network, media, or database tool signal

信号

  • text:media

インストール挙動

  • formula メタデータに Homebrew post-install フックは記録されていません。
  • Homebrew bottle メタデータは 6 個のプラットフォームターゲットで利用できます。
  • 1 件の実行時依存関係とともにインストールされます。
  • ビルドメタデータには 1 件のビルド依存関係があります。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
mtp-albumartcliグローバル実行可能ファイル
mtp-albumscliグローバル実行可能ファイル
mtp-connectcliグローバル実行可能ファイル
mtp-delfilecliグローバル実行可能ファイル
mtp-detectcliグローバル実行可能ファイル
mtp-emptyfolderscliグローバル実行可能ファイル
mtp-filescliグローバル実行可能ファイル
mtp-filetreecliグローバル実行可能ファイル
mtp-folderscliグローバル実行可能ファイル
mtp-formatcliグローバル実行可能ファイル
mtp-getfilecliグローバル実行可能ファイル
mtp-getplaylistcliグローバル実行可能ファイル
mtp-hotplugcliグローバル実行可能ファイル
mtp-newfoldercliグローバル実行可能ファイル
mtp-newplaylistcliグローバル実行可能ファイル
mtp-playlistscliグローバル実行可能ファイル
mtp-resetcliグローバル実行可能ファイル
mtp-sendfilecliグローバル実行可能ファイル
mtp-sendtrcliグローバル実行可能ファイル
mtp-thumbcliグローバル実行可能ファイル
mtp-trackscliグローバル実行可能ファイル
mtp-trexistcliグローバル実行可能ファイル

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-08-04
マネージャ版1.1.23
マネージャ更新日
ローカルデータOK
上流not checked
検出された最新未検出

https://libmtp.sourceforge.net/

  • 情報No package-manager update timestamp was available.信頼度 低
  • 情報Release/tag comparison is only available for GitHub repositories.https://libmtp.sourceforge.net/信頼度 none

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:libmtp
バージョン1.1.23
パッケージマネージャHomebrew
パッケージマネージャページhttps://formulae.brew.sh/formula/libmtp
ホームページhttps://libmtp.sourceforge.net/
上流ドキュメントhttps://libmtp.sourceforge.net/
ライセンスLGPL-2.1-or-later
ソースアーカイブhttps://downloads.sourceforge.net/project/libmtp/libmtp/1.1.23/libmtp-1.1.23.tar.gz
依存関係libusb
ビルド依存関係pkgconf
Bottle利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定義
サービス宣言なし

レジストリ情報

ソースデータベース詳細

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelibmtp
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

Debian apt95%

libmtp-common 1.1.22-1

Media Transfer Protocol (MTP) common files

https://libmtp.sourceforge.net/

sudo apt install libmtp-common
  • Section: libs
  • Architecture: all
  • Source Package: libmtp
  • normalized package name match
  • 一致条件: Libmtp
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmtp-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmtp-dev 1.1.22-1

Media Transfer Protocol (MTP) development files

https://libmtp.sourceforge.net/

sudo apt install libmtp-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libmtp
  • 2 依存関係
  • normalized package name match
  • 一致条件: Libmtp
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmtp-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmtp-doc 1.1.22-1

Media Transfer Protocol (MTP) library documentation

https://libmtp.sourceforge.net/

sudo apt install libmtp-doc
  • Section: doc
  • Architecture: all
  • Source Package: libmtp
  • normalized package name match
  • 一致条件: Libmtp
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmtp-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmtp-runtime 1.1.22-1

Media Transfer Protocol (MTP) runtime tools

https://libmtp.sourceforge.net/

sudo apt install libmtp-runtime
  • Section: libs
  • Architecture: amd64
  • Source Package: libmtp
  • 3 依存関係
  • normalized package name match
  • 一致条件: Libmtp
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmtp-runtime from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libmtp9t64 1.1.22-1

Media Transfer Protocol (MTP) library

https://libmtp.sourceforge.net/

sudo apt install libmtp9t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libmtp
  • 4 依存関係
  • 1 提供
  • 2 任意依存関係
  • normalized package name match
  • 一致条件: Libmtp
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libmtp9t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

mtp-tools 1.1.22-1

Media Transfer Protocol (MTP) library tools

https://libmtp.sourceforge.net/

sudo apt install mtp-tools
  • Section: utils
  • Architecture: amd64
  • Source Package: libmtp
  • 2 依存関係
  • normalized package name match
  • 一致条件: Libmtp
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mtp-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

libmtp

nix profile install nixpkgs#libmtp
  • normalized package name match
  • 一致条件: Libmtp
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/li/libmtp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

libmtp-common 1.1.21-3.1build1

Media Transfer Protocol (MTP) common files

https://libmtp.sourceforge.net/

sudo apt install libmtp-common
  • Section: libs
  • Architecture: all
  • Source Package: libmtp
  • normalized package name match
  • 一致条件: Libmtp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmtp-common from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libmtp-dev 1.1.21-3.1build1

Media Transfer Protocol (MTP) development files

https://libmtp.sourceforge.net/

sudo apt install libmtp-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: libmtp
  • 2 依存関係
  • normalized package name match
  • 一致条件: Libmtp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmtp-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libmtp-doc 1.1.21-3.1build1

Media Transfer Protocol (MTP) library documentation

https://libmtp.sourceforge.net/

sudo apt install libmtp-doc
  • Section: doc
  • Architecture: all
  • Source Package: libmtp
  • normalized package name match
  • 一致条件: Libmtp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmtp-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libmtp-runtime 1.1.21-3.1build1

Media Transfer Protocol (MTP) runtime tools

https://libmtp.sourceforge.net/

sudo apt install libmtp-runtime
  • Section: libs
  • Architecture: amd64
  • Source Package: libmtp
  • 3 依存関係
  • normalized package name match
  • 一致条件: Libmtp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmtp-runtime from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libmtp9t64 1.1.21-3.1build1

Media Transfer Protocol (MTP) library

https://libmtp.sourceforge.net/

sudo apt install libmtp9t64
  • Section: libs
  • Architecture: amd64
  • Source Package: libmtp
  • 4 依存関係
  • 1 提供
  • 2 任意依存関係
  • normalized package name match
  • 一致条件: Libmtp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libmtp9t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

mtp-tools 1.1.21-3.1build1

Media Transfer Protocol (MTP) library tools

https://libmtp.sourceforge.net/

sudo apt install mtp-tools
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: libmtp
  • 2 依存関係
  • normalized package name match
  • 一致条件: Libmtp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mtp-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

libmtp 1.1.22-r1

Software library for MTP media players

https://libmtp.sourceforge.net/

sudo apk add libmtp
  • License: LGPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: libmtp
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Libmtp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libmtp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libmtp-dev 1.1.22-r1

Software library for MTP media players (development files)

https://libmtp.sourceforge.net/

sudo apk add libmtp-dev
  • License: LGPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: libmtp
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Libmtp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libmtp-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

libmtp-examples 1.1.22-r1

Example programs for libmtp

https://libmtp.sourceforge.net/

sudo apk add libmtp-examples
  • License: LGPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: libmtp
  • 1 依存関係
  • 1 提供
  • normalized package name match
  • 一致条件: Libmtp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: libmtp-examples from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

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