Ubuntu – convert a dmg file to iso in terminal

12.04

I use dmg2img to convert a dmg file. What package will convert a dmg 2 iso?

Best Answer

Follow the steps below.

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo apt-get install dmg2img

Once installed, run the following command:

dmg2img <file_name>.dmg

That will convert the .dmg to ,img file in ISO format. Then just run

mv <file_name>.img <file_name>.iso
Related Question