As a Linux user, I need to get the content of a .dmg (Mac OSX disk image) file which contains an application installer.
I tried dmg2dir
(which requires dmg2img
) which created an .img file but nothing else.
$ sudo dmg2dir jdk-8u51-macosx-x64.dmg
==> Routines successfully accomplished. Ready!
==> Prepare loop device...
==> Mount block device...
Error looking up object for device /dev/disk/by-label/JDK\x208\x20Update\x2051 INTENSO openSUSE\x20Live\x20CD\x20GNOME dump
Variable is empty.
I just need the files from the .dmg file unpacked, I don't want to mount it.
In case you're curious, I need this to create a portable development environment to be used at workshops on computers that can't be prepared upfront.