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

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

## インストール

```sh
sudo av install brew:mat2
```

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

### macOS

- Homebrew (100%):

```sh
brew install mat2
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mat2
```

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

### Linux

- apk (92%):

```sh
sudo apk add mat2
```

  証拠: Alpine Linux edge package indexes: mat2 from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install mat2
```

  証拠: Debian stable package indexes: mat2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install mat2
```

  証拠: Fedora Rawhide package metadata: mat2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#mat2
```

  証拠: nixpkgs package indexes: pkgs/by-name/ma/mat2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S mat2
```

  証拠: Arch Linux sync databases: mat2 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## パッケージ情報

- **パッケージキー:** brew:mat2
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.14.0
- **ソース概要:** Metadata anonymization toolkit
- **ホームページ:** <https://github.com/jvoisin/mat2>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- mat2 (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.14.0
## プロジェクトの歴史と使われ方

mat2 is the second-generation Metadata Anonymisation Toolkit: a Python library and command-line utility for removing privacy-sensitive metadata from documents, images, archives, audio, video, and office files.

### プロジェクトの歴史

The README frames mat2 around a privacy threat model in which ordinary files disclose author names, companies, camera details, timestamps, and other metadata. It explicitly positions the tool as a successor to the first MAT project, thanks Google Summer of Code and Tails, and records Julien Voisin's 2018 copyright.

The public release stream includes 0.2.0 in July 2018 and later 0.14.x releases. The README describes three surfaces: the `libmat2` library, the `mat2` command-line tool, and a Dolphin service menu for KDE users.

### 採用の歴史

mat2 reached a broader distribution footprint than many single-purpose privacy tools because metadata stripping is useful for activists, journalists, packagers, and privacy-conscious desktop users. The batch input records packaging across Homebrew, Debian, Ubuntu, Fedora, Arch, Alpine, MacPorts, and Nix.

The README points GUI users to Metadata Cleaner, which uses mat2 underneath. That relationship helped mat2 serve both terminal workflows and desktop privacy tooling without making the CLI carry a full GUI itself.

### 使われ方

Typical CLI usage is `mat2 file...`, which writes cleaned copies such as `myfile.cleaned.png` rather than modifying originals in place by default. The README also documents `--show` to inspect detectable metadata, `--list` for supported formats, `--inplace`, dependency checks, archive-member policy, and a lightweight mode that trades completeness for less alteration of file content.

The README is careful about limits: absence of displayed metadata is not a proof that no metadata exists, especially for complex file formats. That makes mat2 a practical minimization tool rather than a formal sanitizer.

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

mat2 matters in package collections because it wraps a lot of file-format-specific cleanup behavior behind one small CLI. Its optional dependencies such as ExifTool, FFmpeg, Poppler, librsvg, and GdkPixbuf also make it a good example of a privacy tool whose packaging quality depends on distro integration.

For security-minded users, mat2 is a useful counterweight to the default behavior of office suites, cameras, and document exporters: it makes metadata review and removal scriptable.

### タイムライン

- 2018: README copyright and early releases identify mat2's public project era.
- 2018: GitHub release 0.2.0 is published.
- 2025: GitHub release 0.14.0 is published.
- 2026: The README-documented format list includes office files, images, audio/video, archives, torrents, PDFs, and web formats.

### Related projects

- The README links mat2 to the original MAT project, Metadata Cleaner, mat2-web, WordPress integrations, ExifTool, pdf-redact-tools, pdfparanoia, Scrambled Exif, and Dangerzone.

### ソース

- <https://github.com/jvoisin/mat2>
- <https://github.com/jvoisin/mat2/releases/tag/0.14.0>
- <https://github.com/jvoisin/mat2/releases/tag/0.2.0>
- <https://raw.githubusercontent.com/jvoisin/mat2/master/README.md>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

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

- Debian apt - mat2 - 0.13.5-1.2: normalized package name match | Debian stable package indexes: mat2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Metadata anonymisation toolkit v2 | https://0xacab.org/jvoisin/mat2
- Nix - mat2: normalized package name match | nixpkgs package indexes: pkgs/by-name/ma/mat2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - mat2 - 0.13.4-2.1: normalized package name match | Ubuntu 24.04 LTS package indexes: mat2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Metadata anonymisation toolkit v2 | https://0xacab.org/jvoisin/mat2
- apk - mat2 - 0.14.0-r0: normalized package name match | Alpine Linux edge package indexes: mat2 from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Metadata removal tool, supporting a wide range of commonly used file formats | https://github.com/jvoisin/mat2
- apk - mat2-doc - 0.14.0-r0: normalized package name match | Alpine Linux edge package indexes: mat2-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Metadata removal tool, supporting a wide range of commonly used file formats (documentation) | https://github.com/jvoisin/mat2
- apk - mat2-pyc - 0.14.0-r0: normalized package name match | Alpine Linux edge package indexes: mat2-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for mat2 | https://github.com/jvoisin/mat2
- dnf - mat2 - 0.14.0-5.fc45: normalized package name match | Fedora Rawhide package metadata: mat2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Metadata removal tool, supporting a wide range of commonly used file formats | https://github.com/jvoisin/mat2
- dnf - mat2-dolphin - 0.14.0-5.fc45: normalized package name match | Fedora Rawhide package metadata: mat2-dolphin from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Dolphin integration for mat2 | https://github.com/jvoisin/mat2
- dnf - python3-libmat2 - 0.14.0-5.fc45: normalized package name match | Fedora Rawhide package metadata: python3-libmat2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Library for mat2 | https://github.com/jvoisin/mat2
- pacman - mat2 - 0.14.0-2: normalized package name match | Arch Linux sync databases: mat2 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Metadata removal tool, supporting a wide range of commonly used file formats | https://github.com/jvoisin/mat2
- MacPorts - mat2: normalized package name match | MacPorts ports tree: multimedia/mat2/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/mat2.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mat2.yml)


## ソース

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