linux 打开dmg文件_如何在Windows中打开DMG文件
linux 打开dmg文件
Whether you are an avid Mac programmer using a Windows PC, or you just found a DMG file on your Windows machine, it can be useful to know what it is and how to open it. Luckily it’s easy to open on Windows if you know how.
无论您是使用Windows PC的Mac狂热程序员,还是刚刚在Windows计算机上找到DMG文件,了解它是什么以及如何打开它都会很有用。 幸运的是,如果您知道如何在Windows上打开它很容易。
什么是DMG文件? (What Are DMG Files?)
DMG files are macOS disk image files. They are much like ISO files—their Windows-based counterpart.
DMG文件是macOS磁盘映像文件。 它们非常类似于ISO文件-它们是基于Windows的副本。
These disk images normally contain program installation files for macOS apps, but they can also be used to hold compressed files. If it’s an app written for macOS, you obviously won’t be able to install and run the app on Windows. But, you can still open them up and take a look.
这些磁盘映像通常包含macOS应用程序的程序安装文件,但它们也可以用于保存压缩文件。 如果它是为macOS编写的应用程序,那么显然您将无法在Windows上安装和运行该应用程序。 但是,您仍然可以打开它们并进行查看。
You can’t open DMG files directly in Windows, though. For that, you’ll need a third-party tool.
但是,您不能直接在Windows中打开DMG文件。 为此,您需要第三方工具。
使用7-Zip或DMG提取器在Windows中打开DMG文件 (Open DMG Files in Windows By Using 7-Zip or DMG Extractor)
There are a lot of different tools you can use to extract DMG files in Windows. Our two favorites are 7-Zip and DMG Extractor. In our testing, we found a few DMG files that would open with one of those apps but not the other. However, we found no DMG files we couldn’t get open with one of those two apps.
您可以使用许多不同的工具在Windows中提取DMG文件。 我们的两个收藏夹是7-Zip和DMG Extractor 。 在我们的测试中,我们发现了一些DMG文件,这些文件可以通过其中一个应用程序打开,而无法通过其他应用程序打开。 但是,我们发现没有这两个应用程序之一无法打开的DMG文件。
We recommend starting with 7-Zip because the free version of DMG extractor has some limitations—the biggest of which is only being able to extract five files at a time. If 7-Zip cannot extract your DMG file, then you should try DMG Extractor and, optionally, decide whether it’s worth buying the professional version.
我们建议从7-Zip开始,因为DMG提取器的免费版本有一些限制-最大的限制是一次只能提取五个文件。 如果7-Zip无法提取您的DMG文件,那么您应该尝试DMG Extractor,并选择是否值得购买专业版。
使用7-Zip打开DMG文件 (Open DMG Files with 7-Zip)
7-Zip is a lightweight, but powerful compression tool that is free to download. In addition to extracting DMG files, you can use 7-Zip to extract most types of compressed files out there, including ZIP, CAB, ISO, RAR, and WIM, to name just few. It also lets you create your own compressed files in ZIP, WIM, 7z, and a few other formats.
7-Zip是一款轻巧但功能强大的压缩工具,可以免费下载。 除了提取DMG文件之外,您还可以使用7-Zip提取大多数类型的压缩文件,包括ZIP,CAB,ISO,RAR和WIM,仅举几例。 它还允许您以ZIP,WIM,7z和其他几种格式创建自己的压缩文件。
After installing 7-Zip, you can simply double-click a DMG file to open it and browse its contents.
安装7-Zip之后,您只需双击DMG文件即可打开它并浏览其内容。
If you’d like to extract the files from the DMG so they’re easier to work with, right-click the DMG file, point to the “7-Zip” menu, and then choose one of the extraction options. Choose “Extract Files” to select a folder where the files are extracted, “Extract Here” to extract files to the same folder where the DMG file is, or “Extract to foldername” to create a new folder named after the DMG file and extract the files to that new folder.
如果您想从DMG中提取文件以便于使用,请右键单击DMG文件,指向“ 7-Zip”菜单,然后选择一种提取选项。 选择“提取文件”,选择其中的文件解压缩的文件夹,“解压到”提取文件到该DMG文件相同的文件夹,或“解压到文件夹名”创建DMG文件和提取后命名为新的文件夹文件到该新文件夹。
The speed of the extraction depends on the size of the DMG file and the speed of your PC.
提取速度取决于DMG文件的大小和PC的速度。
When the extraction is finished, you can browse the files in a regular File Explorer window.
提取完成后,您可以在常规的“文件资源管理器”窗口中浏览文件。
You can view or edit the files using any of the regular File Explorer features or whatever apps you use.
您可以使用任何常规的文件资源管理器功能或使用的任何应用程序查看或编辑文件。
使用DMG提取器打开DMG文件 (Open DMG Files with DMG Extractor)
DMG extractor provides another choice for extracting DMG files. The free version works well, but it does have some limitations:
DMG提取器为提取DMG文件提供了另一种选择。 免费版本运行良好,但确实有一些限制:
- You cannot extract files bigger than 4 GB 您无法提取大于4 GB的文件
- You cannot extract encrypted files您无法提取加密文件
- You can only extract 5 files at a time, which can be a pain if you need to extract an entire DMG file.一次只能提取5个文件,如果您需要提取整个DMG文件,这可能会很麻烦。
If you need any of the features on that list, you’ll have to purchase the professional version ($9.95). For that reason, we highly recommend trying the 7-Zip solution we outlined in the previous section and resorting to DMG Extractor only if 7-Zip cannot open a particular file.
如果您需要该列表中的任何功能,则必须购买专业版(9.95美元)。 因此,我们强烈建议您尝试上一节中概述的7-Zip解决方案,并且仅当7-Zip无法打开特定文件时才诉诸DMG Extractor。
We’re going to use the free version for this tutorial, but aside from those limitations, the professional version works the same.
我们将在本教程中使用免费版本,但是除了这些限制之外,专业版本的工作原理相同。
After installing DMG Extractor, all you have to do is double-click your DMG file to open it up. You can browse the files right in the DMG Extractor window if you just want to see what’s inside the DMG file.
安装DMG Extractor之后,只需双击DMG文件将其打开。 如果您只想查看DMG文件中的内容,则可以在DMG提取器窗口中直接浏览文件。
If you need to extract the file, click the “Extract” button on the toolbar, and then choose one of the extraction options. You can extract all files to the desktop or a folder of your choosing, or you can extract only files you’ve selected.
如果需要提取文件,请单击工具栏上的“提取”按钮,然后选择提取选项之一。 您可以将所有文件解压缩到桌面或所选文件夹中,也可以仅解压缩所选文件。
Just remember that the free version only allows you to extract five files at a time.
请记住,免费版本仅允许您一次提取五个文件。
That is essentially all you need to know when it comes to extracting the contents of DMG files to your Windows PC. If you do not want to download these programs, one other option is to follow our guide on how to convert DMG files to ISO’s. After that conversion is done, you can mount the ISO in Windows and access the files that way.
从本质上讲,这是将DMG文件的内容提取到Windows PC时所需的全部知识。 如果您不想下载这些程序,另一种选择是遵循我们的指南,以了解如何将DMG文件转换为ISO文件。 转换完成后,您可以在Windows中挂载ISO并以这种方式访问文件。
翻译自: https://www.howtogeek.com/204628/how-to-open-a-dmg-file-in-windows/
linux 打开dmg文件