特殊:Badtitle/NS100:DMG2IMG
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/DMG2IMG }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/af | • {{#if: UbuntuHelp:DMG2IMG|Afrikaans| [[::DMG2IMG/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/ar | • {{#if: UbuntuHelp:DMG2IMG|العربية| [[::DMG2IMG/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/az | • {{#if: UbuntuHelp:DMG2IMG|azərbaycanca| [[::DMG2IMG/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/bcc | • {{#if: UbuntuHelp:DMG2IMG|جهلسری بلوچی| [[::DMG2IMG/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/bg | • {{#if: UbuntuHelp:DMG2IMG|български| [[::DMG2IMG/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/br | • {{#if: UbuntuHelp:DMG2IMG|brezhoneg| [[::DMG2IMG/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/ca | • {{#if: UbuntuHelp:DMG2IMG|català| [[::DMG2IMG/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/cs | • {{#if: UbuntuHelp:DMG2IMG|čeština| [[::DMG2IMG/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/de | • {{#if: UbuntuHelp:DMG2IMG|Deutsch| [[::DMG2IMG/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/el | • {{#if: UbuntuHelp:DMG2IMG|Ελληνικά| [[::DMG2IMG/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/es | • {{#if: UbuntuHelp:DMG2IMG|español| [[::DMG2IMG/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/fa | • {{#if: UbuntuHelp:DMG2IMG|فارسی| [[::DMG2IMG/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/fi | • {{#if: UbuntuHelp:DMG2IMG|suomi| [[::DMG2IMG/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/fr | • {{#if: UbuntuHelp:DMG2IMG|français| [[::DMG2IMG/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/gu | • {{#if: UbuntuHelp:DMG2IMG|ગુજરાતી| [[::DMG2IMG/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/he | • {{#if: UbuntuHelp:DMG2IMG|עברית| [[::DMG2IMG/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/hu | • {{#if: UbuntuHelp:DMG2IMG|magyar| [[::DMG2IMG/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/id | • {{#if: UbuntuHelp:DMG2IMG|Bahasa Indonesia| [[::DMG2IMG/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/it | • {{#if: UbuntuHelp:DMG2IMG|italiano| [[::DMG2IMG/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/ja | • {{#if: UbuntuHelp:DMG2IMG|日本語| [[::DMG2IMG/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/ko | • {{#if: UbuntuHelp:DMG2IMG|한국어| [[::DMG2IMG/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/ksh | • {{#if: UbuntuHelp:DMG2IMG|Ripoarisch| [[::DMG2IMG/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/mr | • {{#if: UbuntuHelp:DMG2IMG|मराठी| [[::DMG2IMG/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/ms | • {{#if: UbuntuHelp:DMG2IMG|Bahasa Melayu| [[::DMG2IMG/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/nl | • {{#if: UbuntuHelp:DMG2IMG|Nederlands| [[::DMG2IMG/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/no | • {{#if: UbuntuHelp:DMG2IMG|norsk| [[::DMG2IMG/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/oc | • {{#if: UbuntuHelp:DMG2IMG|occitan| [[::DMG2IMG/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/pl | • {{#if: UbuntuHelp:DMG2IMG|polski| [[::DMG2IMG/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/pt | • {{#if: UbuntuHelp:DMG2IMG|português| [[::DMG2IMG/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/ro | • {{#if: UbuntuHelp:DMG2IMG|română| [[::DMG2IMG/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/ru | • {{#if: UbuntuHelp:DMG2IMG|русский| [[::DMG2IMG/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/si | • {{#if: UbuntuHelp:DMG2IMG|සිංහල| [[::DMG2IMG/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/sq | • {{#if: UbuntuHelp:DMG2IMG|shqip| [[::DMG2IMG/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/sr | • {{#if: UbuntuHelp:DMG2IMG|српски / srpski| [[::DMG2IMG/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/sv | • {{#if: UbuntuHelp:DMG2IMG|svenska| [[::DMG2IMG/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/th | • {{#if: UbuntuHelp:DMG2IMG|ไทย| [[::DMG2IMG/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/tr | • {{#if: UbuntuHelp:DMG2IMG|Türkçe| [[::DMG2IMG/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/vi | • {{#if: UbuntuHelp:DMG2IMG|Tiếng Việt| [[::DMG2IMG/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/yue | • {{#if: UbuntuHelp:DMG2IMG|粵語| [[::DMG2IMG/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/zh | • {{#if: UbuntuHelp:DMG2IMG|中文| [[::DMG2IMG/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/zh-hans | • {{#if: UbuntuHelp:DMG2IMG|中文(简体)| [[::DMG2IMG/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DMG2IMG | UbuntuHelp:DMG2IMG | {{#if: | :}}DMG2IMG}}/zh-hant | • {{#if: UbuntuHelp:DMG2IMG|中文(繁體)| [[::DMG2IMG/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:DMG2IMG|:DMG2IMG|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :DMG2IMG/zh | | {{#ifexist: DMG2IMG/zh | | {{#ifeq: {{#titleparts:DMG2IMG|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:DMG2IMG|1|-1|}} | zh | | }}
Introduction
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/
Installation Instructions
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:
wget http://vu1tur.eu.org/tools/download.pl?dmg2img-1.6.2.tar.gz -O dmg2img-1.6.2.tar.gz tar -xvf dmg2img-1.6.2.tar.gz sudo apt-get install zlib1g-dev libssl-dev libbz2-dev cd dmg2img-1.6.2 make sudo make install
You can now remove the installation files if you want to tidy up:
rm dmg2img-1.6.2.tar.gz rm -R dmg2img-1.6.2
Getting Started With DMG2IMG
You can now convert .dmg files to .img by typing:
dmg2img filename.dmg
This will create a file called filename.img