Beyond Archive Utility: How to Extract ISO, DMG, TAR.GZ, and Linux Packages on macOS
Developers, system administrators, DevOps engineers, and tech-savvy Mac users frequently interact with archive formats that originate far outside Apple’s consumer ecosystem.
On any given workday, you might need to:
- Inspect the file contents of an Ubuntu or Windows
.isoinstallation image without going through macOS DiskImageMounter (which often locks the image or creates unnecessary virtual drives on your desktop). - Extract a compiled open-source tool distributed as a
.tar.gz,.tar.bz2, or high-compression.tar.xztarball. - Open a Debian package (
.deb) or Red Hat package (.rpm) to inspect a library binary or binary payload on your local Mac. - Unpack a macOS disk image (
.dmg) without mounting it or dealing with annoying “Resource busy” unmounting errors.
If you rely on macOS’s native Archive Utility, you will quickly hit a wall. Apple’s built-in tool handles plain .zip reasonably well, but when given an .iso, a .cab installer file, or a .tar.xz, it either tries to mount the file as a system disk, throws an unhelpful error, or extracts only the outer container (leaving you with an unexpanded .tar file that requires a second manual double-click).
Here is how to extract raw payloads from enterprise, Linux, and disc image formats effortlessly in Finder.
Why Disk Image Mounting Is an Annoying Workaround
When you double-click an .iso or .dmg on macOS, Apple’s default reaction is to call hdiutil and mount the image as a virtual filesystem volume:
/Volumes/Ubuntu 24.04 LTS amd64
Why this is problematic:
- Desktop and Finder Clutter: Every mounted image creates a virtual drive icon on your desktop and sidebar.
- “Disk In Use” Unmount Hangs: If a background process, Spotlight indexer, or terminal session accesses a file inside that volume, macOS refuses to unmount or eject the disk, forcing you to run
hdiutil detach -forcein Terminal. - Write-Protection Conflicts: Mounted disk images are read-only virtual drives. You cannot easily drag files in or out or restructure folders without copying the entire contents elsewhere first.
- Unsupported Filesystems: If the ISO contains an ext4 or UDF format that macOS does not natively recognize, macOS displays a dreaded alert: “The disk you attached was not readable by this computer.”
The Command Line Alternative: tar and 7z Flags
In Terminal, seasoned developers often turn to the traditional Unix tar command:
# Extracting a standard gzip tarball
tar -xzvf archive.tar.gz
# Extracting a modern high-compression xz tarball
tar -xJvf archive.tar.xz
# Extracting a bzip2 tarball
tar -xjvf archive.tar.bz2
While powerful, remembering the alphabet soup of tar flags (-z, -j, -J, -v, -f) is a notorious developer trope. Furthermore:
tardoes not handle.iso,.cab,.rpm, or.debfiles cleanly without piping throughcpioorar.- If an archive contains unexpected symlinks or permission bits, extracting it on macOS can lead to permission warnings.
The Seamless Approach: Right-Click Extraction with ZipGo
ZipGo turns macOS Finder into a universal unpacking station for over 30+ industrial and developer archive formats.
Instead of mounting disks or typing command flags, ZipGo treats disk images, Linux packages, and Unix archives as standard containers.
Supported Formats Include:
- Disc Images:
.iso,.img,.dmg(extracts directly without mounting to/Volumes/). - Unix & Linux Tarballs:
.tar,.tar.gz,.tgz,.tar.bz2,.tbz2,.tar.xz,.txz,.tar.lzma. - Linux Packages:
.deb(Debian/Ubuntu),.rpm(RedHat/Fedora/CentOS). - Windows Installers & Containers:
.cab,.wim,.vhd,.chm. - Legacy & Specialty Archives:
.rar(including RAR5),.7z,.arj,.lzh,.z.
How to Extract in Finder:
- Right-click any supported file in Finder (e.g.
ubuntu-server.isoortools.tar.xz). - Choose Extract with ZipGo or Extract to Subfolder.
- ZipGo unpacks the raw directory tree directly into a local folder.
- No virtual drive mounted.
- No desktop icon pollution.
- No unmounting errors.
Instant Inspection via Preview:
If you only need to pull a single .sh script from an ISO or verify the manifest.json inside a container, you can right-click and choose Preview Archive. ZipGo lets you browse the disk image’s internal file system and cherry-pick individual files with zero overhead.
Format Capability Comparison
| Archive Type | macOS Native Tool | CLI tar / hdiutil | ZipGo |
|---|---|---|---|
.iso Images | Mounts as virtual drive | hdiutil attach | ✅ Direct folder extraction |
.tar.xz Tarballs | Two-step unpack (xz then tar) | tar -xJvf | ✅ 1-Click direct unpack |
.deb / .rpm Packages | ❌ Cannot open | ⚠️ Requires ar / cpio | ✅ Extracts payload directly |
.dmg Files | Mounts as virtual drive | hdiutil attach | ✅ Extracts files without mounting |
| File Preview | ❌ None | ⚠️ tar -tf (terminal text) | ✅ Visual interactive tree |
Stop cluttering your Mac with mounted disk images and memorizing command-line flags. Install ZipGo on the Mac App Store and unpack any developer file instantly.
ZipGo - Finder Right-Click Archiver for macOS
Extract 30+ archive formats directly from Finder, preview without unpacking, and create encrypted archives.