# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget 安装 mtools

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

## 安装

```sh
sudo av install brew:mtools
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mtools
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mtools
```

  证据: MacPorts ports tree: sysutils/mtools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add mtools
```

  证据: Alpine Linux edge package indexes: mtools from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install mtools
```

  证据: Debian stable package indexes: mtools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install mtools
```

  证据: Fedora Rawhide package metadata: mtools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#mtools
```

  证据: nixpkgs package indexes: pkgs/by-name/mt/mtools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S mtools
```

  证据: Arch Linux sync databases: mtools from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install mtools
```

  证据: openSUSE Tumbleweed package metadata: mtools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/mcat
```

  证据: Scoop official bucket manifest trees: bucket/mcat.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id skardyy.mcat -e
```

  证据: Windows Package Manager source index: skardyy.mcat from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:mtools
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mtools>
- **版本:** 4.0.49
- **来源摘要:** Tools for manipulating MSDOS files
- **主页:** <https://www.gnu.org/software/mtools/>
- **上游文档:** <https://www.gnu.org/software/mtools/>
- **许可证:** GPL-3.0-or-later
- **源码归档:** <https://ftpmirror.gnu.org/gnu/mtools/mtools-4.0.49.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- amuFormat.sh (cli)
- lz (cli)
- mattrib (cli)
- mbadblocks (cli)
- mcat (cli)
- mcd (cli)
- mcheck (cli)
- mcomp (cli)
- mcopy (cli)
- mdel (cli)
- mdeltree (cli)
- mdir (cli)
- mdoctorfat (cli)
- mdu (cli)
- mformat (cli)
- minfo (cli)
- mkmanifest (cli)
- mlabel (cli)
- mmd (cli)
- mmount (cli)
- mmove (cli)
- mpartition (cli)
- mrd (cli)
- mren (cli)
- mshortname (cli)
- mshowfat (cli)
- mtools (cli)
- mtoolstest (cli)
- mtype (cli)
- mxtar (cli)
- mzip (cli)
- tgz (cli)
- uz (cli)
- amuFormat.sh (别名)
- lz (别名)
- mattrib (别名)
- mbadblocks (别名)
- mcat (别名)
- mcd (别名)
- mcheck (别名)
- mcomp (别名)
- mcopy (别名)
- mdel (别名)
- mdeltree (别名)
- mdir (别名)
- mdoctorfat (别名)
- mdu (别名)
- mformat (别名)
- minfo (别名)
- mkmanifest (别名)
- mlabel (别名)
- mmd (别名)
- mmount (别名)
- mmove (别名)
- mpartition (别名)
- mrd (别名)
- mren (别名)
- mshortname (别名)
- mshowfat (别名)
- mtools (别名)
- mtoolstest (别名)
- mtype (别名)
- mxtar (别名)
- mzip (别名)
- tgz (别名)
- uz (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 4.0.49
- 本地数据: OK
- 上游仓库: https://www.gnu.org/software/mtools/
- 信息: No package-manager update timestamp was available.
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

mtools is the long-running GNU collection for accessing MS-DOS/FAT media from Unix-like systems without mounting the filesystem. The README history credits Emmet P. Gray with the original code through roughly version 2.0.7, notes Viktor Dukhovni's major input into version 2.0, and identifies Alain Knaff and David Niemi as primary maintainers after 2.0.7. The same README records March 3, 2009 as the date mtools became an official GNU package, with Gray supporting that transition.

### 项目历史

The toolset is organized around DOS-like commands with Unix command-line ergonomics: mcopy, mdir, mdel, mformat, mlabel, mattrib, mmd, mren, and many related utilities. GNU release notes describe its scope as access to MS-DOS disks from GNU and Unix without mounting, changing FAT-specific attributes, formatting FAT media, supporting Windows-style long filenames, FAT32, OS/2 XDF disks, 2m disks, and disk image files through the -i flag. Debian describes the package similarly and lists related filesystem tools, which matches its role as a practical bridge for floppy disks, removable FAT media, and disk images.

### 使用方式

Its package-manager niche is durability rather than novelty. mtools persists in Homebrew, Debian, Fedora, Arch, Nix, MacPorts, and other ecosystems because scripts, retro-computing workflows, embedded build systems, virtual-machine image preparation, and recovery tasks still need direct manipulation of FAT filesystems without a kernel mount step or elevated mount policy.

### 来源

- <https://directory.fsf.org/wiki/Mtools>
- <https://github.com/vapier/mtools/blob/main/README>
- <https://lists.gnu.org/archive/html/info-gnu/2021-07/msg00006.html>
- <https://packages.debian.org/sid/mtools>
- <https://www.gnu.org/software/mtools/>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: SYSCONFDIR/mtools.conf, ~/.mtoolsrc
## 源数据库详情

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

## 其他软件包管理器记录

- Debian apt - floppyd - 4.0.48-1: normalized package name match | Debian stable package indexes: floppyd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Daemon for remote access to floppy drives | https://www.gnu.org/software/mtools/
- Debian apt - mtools - 4.0.48-1: normalized package name match | Debian stable package indexes: mtools from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Tools for manipulating MSDOS files | https://www.gnu.org/software/mtools/
- Nix - mtools: normalized package name match | nixpkgs package indexes: pkgs/by-name/mt/mtools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - floppyd - 4.0.43-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: floppyd from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Daemon for remote access to floppy drives | https://www.gnu.org/software/mtools/
- Ubuntu apt - mtools - 4.0.43-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: mtools from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Tools for manipulating MSDOS files | https://www.gnu.org/software/mtools/
- apk - mtools - 4.0.49-r0: normalized package name match | Alpine Linux edge package indexes: mtools from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | collection of utilities to access MS-DOS disks from Unix without mounting them | https://www.gnu.org/software/mtools/
- apk - mtools-dbg - 4.0.49-r0: normalized package name match | Alpine Linux edge package indexes: mtools-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | collection of utilities to access MS-DOS disks from Unix without mounting them (debug symbols) | https://www.gnu.org/software/mtools/
- apk - mtools-doc - 4.0.49-r0: normalized package name match | Alpine Linux edge package indexes: mtools-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz | collection of utilities to access MS-DOS disks from Unix without mounting them (documentation) | https://www.gnu.org/software/mtools/
- dnf - mtools - 4.0.49-4.fc45: normalized package name match | Fedora Rawhide package metadata: mtools from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Programs for accessing MS-DOS disks without mounting the disks | https://www.gnu.org/software/mtools/
- pacman - mtools - 1:4.0.49-1: normalized package name match | Arch Linux sync databases: mtools from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A collection of utilities to access MS-DOS disks | https://www.gnu.org/software/mtools/
- zypper - mtools - 4.0.49-1.5: normalized package name match | openSUSE Tumbleweed package metadata: mtools from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Tools to access MS-DOS filesystems without kernel drivers | https://www.gnu.org/software/mtools/
- zypper - mtools-doc - 4.0.49-1.5: normalized package name match | openSUSE Tumbleweed package metadata: mtools-doc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Documentation for mtools, a toolset for MS-DOS filesystem access | https://www.gnu.org/software/mtools/
- MacPorts - mtools: normalized package name match | MacPorts ports tree: sysutils/mtools/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - mcat: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/mc/mcat/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/mcat: installed executable or alias match | Scoop official bucket manifest trees: bucket/mcat.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - skardyy.mcat: installed executable or alias match | Windows Package Manager source index: skardyy.mcat from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [mender-artifact](https://pkg.so/zh-hans/brew/mender-artifact/) - Popular package that depends on this formula.
- [dosfstools](https://pkg.so/zh-hans/brew/dosfstools/) - Shares pkgdb curated category or tags: cli, fat, filesystem, filesystems, system.
- [fatsort](https://pkg.so/zh-hans/brew/fatsort/) - Shares pkgdb curated category or tags: cli, fat, filesystem, filesystems, system.
- [attr](https://pkg.so/zh-hans/brew/attr/) - Shares pkgdb curated category or tags: cli, filesystem, filesystems, system.
- [libfuse](https://pkg.so/zh-hans/brew/libfuse/) - Shares pkgdb curated category or tags: cli, filesystem, filesystems, system.
- [dysk](https://pkg.so/zh-hans/brew/dysk/) - Shares pkgdb curated category or tags: cli, filesystem, filesystems, system.
- [e2fsprogs](https://pkg.so/zh-hans/brew/e2fsprogs/) - Shares pkgdb curated category or tags: cli, filesystem, filesystems, system.
- [dwarfs](https://pkg.so/zh-hans/brew/dwarfs/) - Shares pkgdb curated category or tags: cli, filesystem, filesystems, system.
- [erdtree](https://pkg.so/zh-hans/brew/erdtree/) - Shares pkgdb curated category or tags: cli, filesystem, filesystems, system.
- [findutils](https://pkg.so/zh-hans/brew/findutils/) - Local package facts share a topical domain. Shared terms: cli, file, file-management, filesystem, management.
- [stow](https://pkg.so/zh-hans/brew/stow/) - Local package facts share a topical domain. Shared terms: cli, filesystem, management, system.

## Combined YAML source

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


## 来源

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