# Install mtools with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper, scoop, winget

Tools for manipulating MSDOS files. Version 4.0.49 via Homebrew; verified from local package data. Also installable with debian: sudo apt install floppyd.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install mtools
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install mtools
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: Fedora Rawhide package metadata: mtools 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#mtools
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:mtools
- **Package manager:** Homebrew
- **Version:** 4.0.49
- **Source summary:** Tools for manipulating MSDOS files
- **Homepage:** <https://www.gnu.org/software/mtools/>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

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

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 4.0.49
## Project history and usage

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.

### Project history

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.

### How it is used

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.

### Sources

- <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/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- 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
## Other Package-Manager Records

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## Combined YAML source

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


## Sources

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