# Install libmtp

Implementation of Microsoft's Media Transfer Protocol (MTP). Version 1.1.23 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:libmtp
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install libmtp
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install libmtp
```

  Evidence: MacPorts ports tree: multimedia/libmtp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add libmtp
```

  Evidence: Alpine Linux edge package indexes: libmtp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install libmtp-common
```

  Evidence: Debian stable package indexes: libmtp-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install libmtp
```

  Evidence: Fedora Rawhide package metadata: libmtp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#libmtp
```

  Evidence: nixpkgs package indexes: pkgs/by-name/li/libmtp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S libmtp
```

  Evidence: Arch Linux sync databases: libmtp from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libmtp-devel
```

  Evidence: openSUSE Tumbleweed package metadata: libmtp-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

## Package Facts

- **Package key:** brew:libmtp
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/libmtp>
- **Version:** 1.1.23
- **Source summary:** Implementation of Microsoft's Media Transfer Protocol (MTP)
- **Homepage:** <https://libmtp.sourceforge.net/>
- **Repository:** <https://sourceforge.net/p/libmtp/code/ci/master/tree>
- **Upstream docs:** <https://libmtp.sourceforge.net/>
- **License:** LGPL-2.1-or-later
- **Source archive:** <https://downloads.sourceforge.net/project/libmtp/libmtp/1.1.23/libmtp-1.1.23.tar.gz>
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

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

## Dependencies

- libusb

## Build Dependencies

- pkgconf

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 1.1.23
- Local data status: ok
- Upstream repository: https://libmtp.sourceforge.net/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.

## Sicherheitshinweise

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

- **Geiger risk:** blue / medium
- broad file, network, media, or database tool signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** libmtp
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - libmtp-common - 1.1.22-1: normalized package name match | Debian stable package indexes: libmtp-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Media Transfer Protocol (MTP) common files | https://libmtp.sourceforge.net/
- Debian apt - libmtp-dev - 1.1.22-1: normalized package name match | Debian stable package indexes: libmtp-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Media Transfer Protocol (MTP) development files | https://libmtp.sourceforge.net/
- Debian apt - libmtp-doc - 1.1.22-1: normalized package name match | Debian stable package indexes: libmtp-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Media Transfer Protocol (MTP) library documentation | https://libmtp.sourceforge.net/
- Debian apt - libmtp-runtime - 1.1.22-1: normalized package name match | Debian stable package indexes: libmtp-runtime from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Media Transfer Protocol (MTP) runtime tools | https://libmtp.sourceforge.net/
- Debian apt - libmtp9t64 - 1.1.22-1: normalized package name match | Debian stable package indexes: libmtp9t64 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Media Transfer Protocol (MTP) library | https://libmtp.sourceforge.net/
- Debian apt - mtp-tools - 1.1.22-1: normalized package name match | Debian stable package indexes: mtp-tools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Media Transfer Protocol (MTP) library tools | https://libmtp.sourceforge.net/
- Nix - libmtp: normalized package name match | nixpkgs package indexes: pkgs/by-name/li/libmtp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libmtp-common - 1.1.21-3.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libmtp-common from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Media Transfer Protocol (MTP) common files | https://libmtp.sourceforge.net/
- Ubuntu apt - libmtp-dev - 1.1.21-3.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libmtp-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Media Transfer Protocol (MTP) development files | https://libmtp.sourceforge.net/
- Ubuntu apt - libmtp-doc - 1.1.21-3.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libmtp-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Media Transfer Protocol (MTP) library documentation | https://libmtp.sourceforge.net/
- Ubuntu apt - libmtp-runtime - 1.1.21-3.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libmtp-runtime from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Media Transfer Protocol (MTP) runtime tools | https://libmtp.sourceforge.net/
- Ubuntu apt - libmtp9t64 - 1.1.21-3.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: libmtp9t64 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Media Transfer Protocol (MTP) library | https://libmtp.sourceforge.net/
- Ubuntu apt - mtp-tools - 1.1.21-3.1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: mtp-tools from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Media Transfer Protocol (MTP) library tools | https://libmtp.sourceforge.net/
- apk - libmtp - 1.1.22-r1: normalized package name match | Alpine Linux edge package indexes: libmtp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Software library for MTP media players | https://libmtp.sourceforge.net/
- apk - libmtp-dev - 1.1.22-r1: normalized package name match | Alpine Linux edge package indexes: libmtp-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Software library for MTP media players (development files) | https://libmtp.sourceforge.net/
- apk - libmtp-examples - 1.1.22-r1: normalized package name match | Alpine Linux edge package indexes: libmtp-examples from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Example programs for libmtp | https://libmtp.sourceforge.net/


## Related Links

- [Secret-risk packages](https://www.automicvault.com/de/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/de/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/de/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/de/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [pkgconf](https://www.automicvault.com/de/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [simple-mtpfs](https://www.automicvault.com/de/pkg/brew/simple-mtpfs/) - Popular package that depends on this formula.
- [openexr](https://www.automicvault.com/de/pkg/brew/openexr/) - Shares av.db curated category or tags: cli, library, media.
- [imagemagick](https://www.automicvault.com/de/pkg/brew/imagemagick/) - Shares av.db curated category or tags: cli, library, media.
- [graphite2](https://www.automicvault.com/de/pkg/brew/graphite2/) - Shares av.db curated category or tags: cli, library, media.
- [libvmaf](https://www.automicvault.com/de/pkg/brew/libvmaf/) - Shares av.db curated category or tags: cli, library, media.
- [poppler](https://www.automicvault.com/de/pkg/brew/poppler/) - Shares av.db curated category or tags: cli, library, media.
- [libheif](https://www.automicvault.com/de/pkg/brew/libheif/) - Shares av.db curated category or tags: cli, library, media.
- [libavif](https://www.automicvault.com/de/pkg/brew/libavif/) - Shares av.db curated category or tags: cli, library, media.
- [jasper](https://www.automicvault.com/de/pkg/brew/jasper/) - Shares av.db curated category or tags: cli, library, media.
- [libicns](https://www.automicvault.com/de/pkg/brew/libicns/) - Local package facts share a topical domain. Shared terms: cli, files, format, library, media.
- [aalib](https://www.automicvault.com/de/pkg/brew/aalib/) - Local package facts share a topical domain. Shared terms: cli, library, media, portable.
- [ebook-tools](https://www.automicvault.com/de/pkg/brew/ebook-tools/) - Local package facts share a topical domain. Shared terms: access, cli, format, media.

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
