dmg是什么文件格式_什么是DMG文件(以及我該如何使用)?

dmg是什么文件格式

dmg是什么文件格式

DMG files are containers for apps in macOS. You open them, drag the app to your Applications folder, and then eject them, saving you the hassle of the dreaded “Install Wizard” of most Windows apps. So if all they are is a folder for an app, why do we use them instead of just downloading the app itself?

DMG文件是macOS中應用程序的容器。 您將它們打開,將應用程序拖到“應用程序”文件夾中,然后將其彈出,從而避免了大多數Windows應用程序可怕的“安裝向導”的麻煩。 因此,如果它們只是一個應用程序的文件夾,為什么我們使用它們而不是僅下載應用程序本身?

為什么macOS使用DMG文件 (Why macOS Uses DMG Files)

The main reason macOS uses DMG files is to make sure the file downloaded properly?and wasn’t tampered with. DMG files include something called a checksum, which basically verifies that the file is 100% intact. This is what you see when the file is opening:

macOS使用DMG文件的主要原因是為了確保文件下載正確并且未被篡改。 DMG文件包含一個稱為校驗和的東西,該校驗和基本上可以驗證該文件是否100%完整。 這是打開文件時看到的:

This little window first goes through a phase of verifying the file, and then once it’s sure the file is good, moves on to decompressing it. And that’s second reason why macOS uses DMG files: they’re a compressed format (like a ZIP file) that makes your download smaller. Saving your data usage on downloads is always a good thing.

這個小窗口首先經過驗證文件的階段,然后在確定文件正確之后,繼續進行解壓縮。 這就是macOS使用DMG文件的第二個原因:它們是一種壓縮格式(如ZIP文件),可以減小下載量。 節省下載數據的使用量總是一件好事。

那么如何使用DMG文件? (So How Do I Use DMG Files?)

Well, luckily macOS does an excellent job of making everything easy. All you really need to do is double-click the DMG file to open it and mount it to your Mac.

好吧,幸運的是,macOS在簡化一切方面做得非常出色。 您真正需要做的就是雙擊DMG文件將其打開并將其安裝到Mac。

The DMG mounts in two places: on your desktop and in the Finder sidebar under your hard drive. Clicking either one of these opens the DMG file.

DMG可以安裝在兩個位置:在桌面上和硬盤驅動器下的Finder側欄中。 單擊其中任一打開DMG文件。

When you open a DMG file, you’ll usually see two things: the app and a link to your applications folder. Some DMGs—like the Steam DMG shown above—have styled backgrounds, but this is only cosmetic.

打開DMG文件時,通常會看到兩件事:應用程序和指向應用程序文件夾的鏈接。 一些DMG(例如上面顯示的Steam DMG)具有背景樣式,但這僅僅是裝飾性的。

To install the app, drag it into your Applications folder. It may take a second to copy over, but when it’s done, you can launch the app from Launchpad or Spotlight like you would any other app.

要安裝該應用程序,請將其拖到“應用程序”文件夾中。 復制可能需要一秒鐘,但是完成后,您可以像其他任何應用程序一樣從Launchpad或Spotlight啟動該應用程序。

Note: Do not launch the app right from the DMG.?The app will no longer be there after you eject the DMG.

注意:請勿直接從DMG啟動應用程序。 退出DMG之后,該應用將不再存在。

打掃干凈 (Cleaning Up)

When you’re done installing the app, you’ll be left with two copies of it, one in DMG form, and one in your Applications folder. The DMG one can go since you don’t need it anymore.

安裝完該應用程序后,將剩下兩個副本,一個為DMG格式,另一個在Applications文件夾中。 DMG可以使用了,因為您不再需要它了。

First, eject the DMG by right-clicking it and selecting the “Eject” command, or by pressing the eject button next to the disk in finder. This unmounts the DMG file from your system.

首先,右鍵單擊DMG并選擇“彈出”命令,或按Finder中磁盤旁邊的彈出按鈕彈出DMG。 這將從系統中卸載DMG文件。

Next, delete the DMG file itself unless you have a reason for keeping it around.

接下來,刪除DMG文件本身,除非有理由保留它。

我可以在Windows中使用DMG文件嗎? (Can I Use DMG Files in Windows?)

There’s not much reason you’d?want?to use DMG files in Windows since they usually contain macOS apps and not Windows apps. But, if you need to get one open, 7-Zip?has support for extracting DMGs. If you want to convert the DMG to a different compressed format (like ISO, which is much like the DMG file format for Windows), a tool like?dmg2img will get the job done.

您沒有太多理由在Windows中使用DMG文件,因為它們通常包含macOS應用程序而不是Windows應用程序。 但是,如果您需要打開一個文件夾,則7-Zip支持提取DMG。 如果要將DMG轉換為其他壓縮格式(例如ISO ,與Windows的DMG文件格式非常相似),則可以使用dmg2img之類的工具來完成。

我可以制作自己的DMG文件嗎? (Can I Make My Own DMG Files?)

Yes, you can, and doing so is more useful than you might think.

是的,您可以,而且這樣做比您想象的有用。

In addition to offering decent levels of compression, DMG files also support 128- and 256-bit AES encryption, which means you can make a compressed folder that’s password protected.

除了提供不錯的壓縮級別外,DMG文件還支持128位和256位AES加密,這意味著您可以創建一個受密碼保護的壓縮文件夾。

Open up Disk Utility and choose File > New Image > Image from Folder (or blank image if you want to make an empty DMG file you can add stuff to later).?In the window that pops up, select the folder you want to encrypt and click the “Choose” button.

打開“磁盤工具”,然后選擇“文件”>“新圖像”>“文件夾中的圖像”(如果要創建一個空的DMG文件,則為空白圖像,可以在以后添加內容)。 在彈出的窗口中,選擇要加密的文件夾,然后單擊“選擇”按鈕。

After that, you’ll have the chance to configure some additional options, like where to save the file and whether to use encryption. When you encrypt the folder, your Mac will prompt you to enter your password twice.

之后,您將有機會配置一些其他選項,例如在哪里保存文件以及是否使用加密。 加密文件夾時,Mac會提示您輸入兩次密碼。

Also, by default, DMG file read-only, but if you want a read-write DMG, change the “Image Format” option from “Compressed” to “Read/Write.”

同樣,默認情況下,DMG文件為只讀,但是如果您要讀寫DMG,請將“圖像格式”選項從“壓縮”更改為“讀/寫”。

That’s about it. When you go to open your new DMG file, it will prompt you for the password you chose. After typing the password, the DMG file will mount like any other.

就是這樣當您打開新的DMG文件時,它將提示您輸入選擇的密碼。 輸入密碼后,DMG文件將像其他任何文件一樣掛載。

Except?that this time, it’s not just an app. The DMG file contains whatever you stored there.

除了這次,它不僅是一個應用程序。 DMG文件包含您存儲在其中的所有內容。

翻譯自: https://www.howtogeek.com/362166/what-is-a-dmg-file-and-how-do-i-use-one/

dmg是什么文件格式

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/279245.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/279245.shtml
英文地址,請注明出處:http://en.pswp.cn/news/279245.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

mysql索引三個字段查詢兩個字段_mysql中關于關聯索引的問題——對a,b,c三個字段建立聯合索引,那么查詢時使用其中的2個作為查詢條件,是否還會走索引?...

情況描述:在MySQL的user表中,對a,b,c三個字段建立聯合索引,那么查詢時使用其中的2個作為查詢條件,是否還會走索引?根據查詢字段的位置不同來決定,如查詢a, a,b a,b,c a,c 都可以走索引的&#…

HDU 3966 Aragorn's Story (樹鏈剖分+線段樹)

題意:給你一棵樹,然后有三種操作 I L R K: 把L與R的路徑上的所有點權值加上K D L R K:把L與R的路徑上的所有點權值減去K Q X:查詢節點編號為X的權值 思路:樹鏈剖分裸題(我還沒有怎么學懂,但基本…

canon相機api中文_您應該在佳能相機上掌握的10種相機設置

canon相機api中文Your camera is a tool, and you should be able to use it with total confidence. You should never have to dig through the manual or play around with random buttons trying to work out how to do something on a shoot. Here are the most important…

mysql普通索引自增_mysql中聯合索引中的自增列的增長策略

《深入理解MySQL》中一段介紹MyISAM存儲引擎中自動增長列的示例,如下1 mysql>create table autoincre_demo2 -> (d1 smallint not nullauto_increment,3 -> d2 smallint not null,4 -> name varchar(10),5 ->index(d2,d1)6 -> )enginemyisam;7 Query OK, 0 r…

spring-boot基礎概念與簡單應用

1.spring家族 2.應用開發模式 2.1單體式應用 2.2微服務架構 微服務架構中每個服務都可以有自己的數據庫 3.微服務架構應當注意的細節 3.1關于"持續集成,持續交付,持續部署" 頻繁部署、快速交付以及開發測試流程自動化都將成為未來軟件工程的重要組成部分 可行方案(如…

郵箱客戶端 gmail支持_如何聯系Gmail支持

郵箱客戶端 gmail支持Although you may not be able to directly contact Gmail support without subscribing to G Suite for businesses, there are a couple of ways to get the answers you’re looking for online. Let’s look at how you can get help with your Gmail …

jstorm mysql_zookeeper,kafka,jstorm,memcached,mysql流式數據處理平臺部署

一.平臺環境介紹:1.系統信息:項目信息系統版本:Ubuntu14.04.2 LTS \n \l用戶:*****密碼:******Java環境:openjdk-7-jre語言:en_US.UTF-8,en_US:en磁盤:每臺vda為系統盤(5…

dock模擬macos教程_將macOS首選項窗格添加到您的Dock中以快速訪問

dock模擬macos教程macOS: Is there a certain Preference pane you access constantly? You can quickly add it to your dock. macOS:是否存在您經常訪問的特定“首選項”窗格? 您可以將其快速添加到擴展塢中。 Brett Terpstra, writing for Lifehacke…

怎么做mysql查詢系統_mysql數據庫系統學習(一)---一條SQL查詢語句是如何執行的?...

一、第一節:一條sql查詢語句是怎樣執行的5.5.5版本以后,默認使用存儲引擎為InnoDB不使用查詢緩存,MySQL8.0沒有查詢緩存這個功能總體來說:MySQL分為service層和存儲引擎層1)service層包括:連接器、分析器、優化器、執行…

mysql qt自增_mysql自增設置

MySQL設置自增字段的相關語句:alter table album change ALBUM_ID ALBUM_ID bigint not null auto_increment;alter table album auto_increment1;創建:mysql>create table cc(id int auto_increment,name varchar(20),primary key(id));mysql>create table c…

staem被盜_如何檢查照片是否被盜

staem被盜Photos and other images get stolen all the time online. Someone takes a photo from the photographer’s website or social media channels and uses it for their own needs. This is completely illegal and happens to me all the time here at How-To Geek.…

數據庫、表、表內容增刪改查

數據庫和表的創建 用戶的增 刪 改 查 增 create user 用戶名192.168.16.% identified by ‘123’;創建一個賬戶,并設置密碼,可不設密碼 grant all on *.* to 用戶地址; #給賬戶授權 flush privileges; #刷新授權立即生效 創…

立即通過Xumo.TV在線觀看免費電視

Xumo.TV brings the channel surfing experience to cord cutters, with content from The History Channel, MSNBC, Fox Sports, and more. And it’s free. Xumo.TV將頻道瀏覽體驗帶給剪線鉗,其中包括The History Channel,MSNBC,Fox Sports…

NOIP2009靶形數獨

試題描述小城和小華都是熱愛數學的好學生,最近,他們不約而同地迷上了數獨游戲,好勝的他們想用數獨來一比高低。但普通的數獨對他們來說都過于簡單了,于是他們向 Z 博士請教, Z 博士拿出了他最近發明的“靶形數獨”&…

mysql 1005 - can't create table_關于創建數據表報錯一例(ERROR 1005 Can’t create table (errno: 121))...

問題描述曾遇到創建數據表報錯問題,報錯如下:ERROR 1005 (HY000) at line 18: Cant create table db1.t2 (errno: 121)通過日志查看有一條記錄InnoDB: Error: table db1.t2 already exists in InnoDB internal可見要創建的這個表已經存在,導致…

h5輸出文字write_免費下載:Write是用于手寫的文字處理器

h5輸出文字writeWindows/Mac/Linux/Android: Love the feel of writing by hand, but wish you could use features like copy/paste and undo? Write is a free tool that lets you do just that. Windows / Mac / Linux / Android:喜歡手寫的感覺,但是…

11. IDEA 在同一工作空間創建多個項目

1.創建項目 二.、創建工作空間 JavaWorkspace 1、File-> New Project -> 創建工作空間 JavaWorkspace,并 順便創建項目 JavaOne 2.創建第一個項目后形成的目錄結構如下 三、在已經創建好的工作空間中創建第二個項目 1、File -> New Module -> 創建項目 …

winform 線程監聽兩個目錄下的文件_vb.net 利用.net自帶的GZipStream壓縮或者解壓文件的代碼,不需要任何第三方控件...

網上很少有用VB寫的壓縮文件的代碼,但是,在網絡傳輸,文件下載,打包發布等等方面的需求又比較多,所以,借鑒了一下C#代碼的例子,改造成了VB用的類。另外加上了多層文件夾壓縮解壓。但是,因為時間有…

什么是“ rpcsvchost”,以及為什么它在Mac上運行?

You find something called rpcsvchost while using Activity Monitor to see what’s running on your Mac. What is this process, and should you be worried? In a word, no: rpcsvhost is a core part of macOS. 在使用“活動監視器”查看Mac上正在運行的內容時&#xff…

自定義異常禁用異常堆棧_如何在Mac上禁用或自定義自動更正

自定義異常禁用異常堆棧Sometimes, autocorrect gets it wrong, replacing a word you meant to type with something completely different. You can customize it to fix these issues or disable it altogether. 有時候,自動更正會把它弄錯,用完全不同…