• Did you order new AirTags? We've opened a dedicated AirTags forum.

swarnap

macrumors newbie
Original poster
Jun 28, 2006
6
0
Hi All,

Can anyone tell me what is the difference between a .dmg file and .pkg file for Mac OS? The .pkg file is created using the PackageMaker of Mac OS for creating the installers.
 

mark!

macrumors 65816
Feb 4, 2006
1,370
1
America
*.dmg is a disk image, and a *.pkg is sort of like a zipped file.
I don't know the advantages to either of them, though.
 
Comment

solaris

macrumors 6502a
Apr 19, 2004
706
98
Oslo, Norway
DMG:
* Disk image format, like ISO, etc...
* Is not an installer, just a way to store files.
* Supports encryption, password protection and compression.
* Single file (ideal for distribution).

PKG:
* Installer package. Can install files to different locations, etc...
* Support compression.
* Is just a folder, with multiple files inside (just like .app). So it is not suited for distribution.


More information:
http://en.wikipedia.org/wiki/.dmg
http://en.wikipedia.org/wiki/Installer_(Mac_OS_X)
 
Comment
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.