Automic VaultAutomic Vault

brew

Install dmg2img with Homebrew, apk, apt, dnf, MacPorts, Nix, scoop

Utilities for converting macOS DMG images. Version 1.6.7 via Homebrew; verified 2026-06-19.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install dmg2img

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install dmg2img

MacPorts ports tree · sysutils/dmg2img/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add dmg2img

Alpine Linux edge package indexes · dmg2img · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install dmg2img

Debian stable package indexes · dmg2img · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install dmg2img

Fedora Rawhide package metadata · dmg2img · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#dmg2img

nixpkgs package indexes · pkgs/by-name/dm/dmg2img/package.nix · source: api.github.com

Windows

Scoopverified · 92%
scoop install main/dmg2img

Scoop official bucket manifest trees · bucket/dmg2img.json · source: api.github.com

overview

Package summary

Utilities for converting macOS DMG images

Commands and aliases

  • dmg2img
  • vfdecrypt

history

Project history and usage

dmg2img is a small command-line converter for turning Apple compressed DMG disk images into standard HFS+ image files. Its package-manager appeal is that it gives Unix and Windows users a narrow, scriptable way to inspect or convert macOS disk images without Apple's Disk Utility.

Project history

The original project is published from the vu1tur.eu.org tools page, whose dmg2img page describes the tool and carries the upstream changelog. The maintained GitHub tree says it imports the original dmg2img code and tarballs, while Peter Wu's maintenance branch adds bug fixes, security fixes, and other enhancements.

Adoption history

dmg2img became useful in packaging and recovery workflows because DMG files are common distribution containers for macOS software, but package builders and Linux users often need ordinary image output. Its small C utility shape makes it easy for package managers to ship alongside tools such as vfdecrypt.

How it is used

Typical use is a one-shot conversion from a .dmg input to an .img output, followed by mounting or extracting the resulting filesystem image with platform tools. The maintained README also documents optional build support for newer compression handling such as LZFSE.

Why package nerds care

Package nerds care about dmg2img because it is the boring glue that lets non-macOS build and forensic environments handle Apple's disk-image packaging format without a large desktop stack.

Timeline

  • 2017: The upstream changelog lists dmg2img 1.6.7.
  • 2020: The maintained GitHub tree records imported upstream code plus maintenance fixes.

Related projects

  • vfdecrypt is shipped with dmg2img for encrypted DMG workflows.
  • Apple's Disk Utility and hdiutil cover similar disk-image work on macOS.

security posture

Risk level: blue

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

Risk classifier

blue risk · medium confidence · tool

Why

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

Signals

  • text:decrypt,image

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
dmg2imgcliglobal executable
vfdecryptcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.6.7
manager updated2026-06-19
local dataok
upstreamnot checked
latest detectednot detected

http://vu1tur.eu.org/tools/

install metadata

Package metadata

Package keybrew:dmg2img
Version1.6.7
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/dmg2img
Homepagehttp://vu1tur.eu.org/tools/
Upstream docshttp://vu1tur.eu.org/tools
LicenseGPL-2.0-only AND MIT
Source archivehttps://cdn.netbsd.org/pub/pkgsrc/distfiles/dmg2img-1.6.7.tar.gz
Last updated2026-06-19T12:30:05-07:00
Pulseupdated
Dependenciesopenssl@4
Uses from macOSbzip2
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

dmg2img 1.6.7+git20201227.a3e4134-0.1

Tool for converting compressed dmg files to hfsplus images

http://vu1tur.eu.org/tools/

sudo apt install dmg2img
  • Section: otherosfs
  • Architecture: amd64
  • 4 dependencies
  • normalized package name match
  • Matched by: Dmg2img
Debian stable package indexes · deb.debian.org · Debian stable package indexes: dmg2img from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

dmg2img

nix profile install nixpkgs#dmg2img
  • normalized package name match
  • Matched by: Dmg2img
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/dm/dmg2img/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

dmg2img 1.6.7-1build4

Tool for converting compressed dmg files to hfsplus images

http://vu1tur.eu.org/tools/

sudo apt install dmg2img
  • Section: universe/utils
  • Architecture: amd64
  • 4 dependencies
  • normalized package name match
  • Matched by: Dmg2img
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: dmg2img from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

dmg2img 1.6.7-r1

A CLI tool to uncompress Apple's compressed DMG files to the HFS+ IMG format

http://vu1tur.eu.org/tools/

sudo apk add dmg2img
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: dmg2img
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Dmg2img
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: dmg2img from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

dmg2img 1.6.7-32.20201227gita3e4134.fc44

Uncompress the Apple compressed disk image files

http://vu1tur.eu.org/tools/

sudo dnf install dmg2img
  • License: GPL-1.0-or-later AND LicenseRef-Callaway-MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: dmg2img
  • 6 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Dmg2img
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: dmg2img from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

dmg2img

sudo port install dmg2img
  • normalized package name match
  • Matched by: Dmg2img
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/dmg2img/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

main/dmg2img

scoop install main/dmg2img
  • normalized package name match
  • Matched by: Dmg2img
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/dmg2img.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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