个人工具

“UbuntuHelp:DMG2IMG”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
 
第7行: 第7行:
 
Website: http://vu1tur.eu.org/tools/
 
Website: http://vu1tur.eu.org/tools/
 
== Installation Instructions ==
 
== Installation Instructions ==
You can use the premade DMG2IMG package from this ppa https://launchpad.net/~rzr/+archive/ppa
+
The tool is in the Universe repository for Lucid:
The dmg2img command needs to be compiled from source.
+
<code><nowiki> sudo apt-get install dmg2img </nowiki></code>
The following assumes the latest version is 1.6, so check if a more recent version is available [http://vu1tur.eu.org/tools/ here] first. To download, compile and install, open an terminal and type:
+
=== 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 [http://vu1tur.eu.org/tools/ here] first. To download, compile and install, open an terminal and type:
 
<pre><nowiki>
 
<pre><nowiki>
wget http://vu1tur.eu.org/tools/download.pl?dmg2img-1.6.tar.gz -O dmg2img-1.6.tar.gz
+
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.tar.gz
+
tar -xvf dmg2img-1.6.2.tar.gz
 
sudo apt-get install zlib1g-dev libssl-dev libbz2-dev
 
sudo apt-get install zlib1g-dev libssl-dev libbz2-dev
cd dmg2img-1.6
+
cd dmg2img-1.6.2
 
make
 
make
 
sudo make install
 
sudo make install
第20行: 第26行:
 
You can now remove the installation files if you want to tidy up:
 
You can now remove the installation files if you want to tidy up:
 
<pre><nowiki>
 
<pre><nowiki>
rm dmg2img-1.6.tar.gz
+
rm dmg2img-1.6.2.tar.gz
rm -R dmg2img-1.6
+
rm -R dmg2img-1.6.2
 
</nowiki></pre>
 
</nowiki></pre>
 
== Getting Started With DMG2IMG ==
 
== Getting Started With DMG2IMG ==

2010年5月19日 (三) 22:05的最新版本

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