Contents
|
.Run or.Bin files are probably the only file types you will ever need to mark as executable in normal use of Ubuntu. There are two ways to execute them (which usually installs something), either in the terminal, or graphically (which usually relies on the terminal somewhat as well).
7-Zip and DMG Extractor are the best options to open DMG file on Windows because they are compatible with the most DMG variations. For Linux a built-in 'cdrecord' command can be issued to burn DMG files to CD's or DVD's. Aside from the Finder application, you can open DMG files through Apple Disk Utility, Roxio Toast, and Dare to be Creative. See also: How to work with DMG files in Linux. On Ubuntu, you’d do it like this: sudo apt-get install dmg2img Once you have dmg2img installed, begin converting the DMG file: dmg2img file.dmg After a few minutes, you should have a second file called image.img. This file can be used like an ISO.
DMG2IMG is an Apple's compressed dmg to standard (hfsplus) image disk file convert tool. It is derived from dmg2iso v0.2c by vu1tur.
It will allow you to convert a DMG file into an IMG file that can be mounted as described in ManageDiscImages.
Website: http://vu1tur.eu.org/tools/
The tool is in the Universe repository for Lucid:
sudo apt-get install dmg2img
Install from .deb on Karmic
The Lucid package works fine with Karmic. Download and install it from here: http://packages.ubuntu.com/lucid/dmg2img.
Install from PPA
There is also a PPA at https://launchpad.net/~rzr/+archive/ppa.
Install from source
The following assumes the latest version is 1.6.2, so check if a more recent version is available here first. To download, compile and install, open an terminal and type:
Run Dmg File In Ubuntu Pc
You can now remove the installation files if you want to tidy up:
You can now convert .dmg files to .img by typing:
Install Run File Ubuntu
This will create a file called filename.img