Automic VaultAutomic Vault

brew

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman 安装 mat2

查看 mat2 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install mat2

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install mat2

MacPorts ports tree · multimedia/mat2/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add mat2

Alpine Linux edge package indexes · mat2 · 来源: dl-cdn.alpinelinux.org

Debian apt已验证 · 92%
sudo apt install mat2

Debian stable package indexes · mat2 · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install mat2

Fedora Rawhide package metadata · mat2 · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#mat2

nixpkgs package indexes · pkgs/by-name/ma/mat2/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S mat2

Arch Linux sync databases · mat2 · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

Metadata anonymization toolkit

命令和别名

  • mat2

历史

项目历史与用法

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.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 8 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
mat2cli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.14.0
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/jvoisin/mat2

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息No cached GitHub release or tag data was available.https://github.com/jvoisin/mat2none 置信度

安装元数据

软件包元数据

软件包键brew:mat2
版本0.14.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/mat2
主页https://github.com/jvoisin/mat2
仓库https://github.com/jvoisin/mat2
上游文档https://github.com/jvoisin/mat2#readme
许可证LGPL-3.0-or-later
源码归档https://files.pythonhosted.org/packages/ba/e1/9a8abf4f5ab3c3e214197e310e3f33418d79769ee89911da939a6c891d4f/mat2-0.14.0.tar.gz
依赖exiftool, ffmpeg, gdk-pixbuf, librsvg, poppler, py3cairo, pygobject3, python@3.14
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

mat2 0.13.5-1.2

Metadata anonymisation toolkit v2

https://0xacab.org/jvoisin/mat2

sudo apt install mat2
  • Section: utils
  • Architecture: all
  • 9 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Mat2
Debian stable package indexes · deb.debian.org · Debian stable package indexes: mat2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

mat2

nix profile install nixpkgs#mat2
  • normalized package name match
  • 匹配方式:Mat2
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ma/mat2/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

mat2 0.13.4-2.1

Metadata anonymisation toolkit v2

https://0xacab.org/jvoisin/mat2

sudo apt install mat2
  • Section: universe/utils
  • Architecture: all
  • 9 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Mat2
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: mat2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

mat2 0.14.0-r0

Metadata removal tool, supporting a wide range of commonly used file formats

https://github.com/jvoisin/mat2

sudo apk add mat2
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: mat2
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mat2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mat2 from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

mat2-doc 0.14.0-r0

Metadata removal tool, supporting a wide range of commonly used file formats (documentation)

https://github.com/jvoisin/mat2

sudo apk add mat2-doc
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: mat2
  • normalized package name match
  • 匹配方式:Mat2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mat2-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

mat2-pyc 0.14.0-r0

Precompiled Python bytecode for mat2

https://github.com/jvoisin/mat2

sudo apk add mat2-pyc
  • License: LGPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: mat2
  • 1 依赖
  • normalized package name match
  • 匹配方式:Mat2
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: mat2-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
dnf95%

mat2 0.14.0-4.fc45

Metadata removal tool, supporting a wide range of commonly used file formats

https://github.com/jvoisin/mat2

sudo dnf install mat2
  • License: LGPL-3.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: mat2
  • 2 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Mat2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mat2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

mat2-dolphin 0.14.0-4.fc45

Dolphin integration for mat2

https://github.com/jvoisin/mat2

sudo dnf install mat2-dolphin
  • License: LGPL-3.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: mat2
  • 5 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Mat2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: mat2-dolphin from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

python3-libmat2 0.14.0-4.fc45

Library for mat2

https://github.com/jvoisin/mat2

sudo dnf install python3-libmat2
  • License: LGPL-3.0-or-later
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: mat2
  • 7 依赖
  • 5 提供
  • normalized package name match
  • 匹配方式:Mat2
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-libmat2 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

mat2 0.14.0-2

Metadata removal tool, supporting a wide range of commonly used file formats

https://github.com/jvoisin/mat2

sudo pacman -S mat2
  • License: LGPL-3.0-or-later
  • Architecture: any
  • 10 依赖
  • 3 可选依赖
  • normalized package name match
  • 匹配方式:Mat2
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: mat2 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

mat2

sudo port install mat2
  • normalized package name match
  • 匹配方式:Mat2
MacPorts ports tree · api.github.com · MacPorts ports tree: multimedia/mat2/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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