On Thursday, February 6, 2003, at 09:37  AM, Drew Taylor wrote:

At 09:36 PM 2/5/03 -0800, Michael Maibaum wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On Wednesday, February 5, 2003, at 08:37 PM, Chris Nandor wrote:
Now, who is going to do a dmg of Apache / mod_perl / libapreq?  :-)
We'll be providing .pkg and .mpkgs shortly, and the packages that there are already are availible over webdav or from the website (webdav address is http://packages.opendarwin.org/) These packages are still in testing at the moment...
Perhaps this is a stupid question, but could someone explain the difference between a disk image (dmg) and a package (pkg)? I know the dmg "mounts" a virtual drive, but other than that which is better?

a package is a way of putting several things together into one "bundle". An application package contains all the things the application needs to run (the binary executable, the preflists, icons and other resources, nibs, help files, etc.). An installer package contains the different things required to make an application run successfully, but those things may need to go to different locations on the hard drive. For example, the gimp package at darwinports puts together all the nonsense required by gimp to run successfully (actually, it leaves out gtk and gtk2, but that is another story), so that ignoramuses like me can one click install -- like magic, everything goes to its correct place, and then it works.

A disk image is just a way to deliver the package. You could just as well stuffit the package and supply that. Perhaps even uuencode it and send it in an annoyingly long email accessible via elm...

Reply via email to