We were setting up a new Minecraft server at HTG headquarters to play the awesome Captive Minecraft survival mode game (which uses vanilla Minecraft, no mods required), when we realized we didn’t.
A .DMG file is a container file commonly used to distribute applications for Mac OS X. Installing software from one of these requires you to mount the image and move its contents to your computer’s “Applications” directory.
One of the most common mistakes I see among new Mac users is fumbling with how to install and open .dmg files or new software. The process for installing new applications on your Mac can be confusing at first because it differs greatly from Windows’ software installation process. Nevertheless, the Mac method of installing software is actually quite simple and intuitive once you are accustomed to it. If your desktop is littered with DMG files and white “drive”-looking icons, read on!
Contents
What are .DMG Files?
DMG stands for Disk Image, and is a format commonly used to distribute files and applications among Apple computers. A DMG file is like a virtual DVD or hard drive. They can be “mounted” on your Mac in order to work with their contents, or even burned to an actual physical disc.
In order to understand the concept of a DMG disk image, think of a storage volume such as a CD, DVD, hard drive, or external drive. A DMG file is like one of these devices in that it serves as a means to encapsulate documents, images, software, and other files. The difference is that with a DMG, there is no physical storage medium. There is only the DMG file, which can be written to a hard drive, burned to a CD or DVD, or sent over the Internet.
In order to work with the contents of a DMG file, you must mount the the disk image to your system. This may sound daunting, however “mounting” a DMG file with Mac OS X is no more complicated than double-clicking it’ icon. The operating system will load the load image and place a new icon both on your desktop, and in the sidebar of the Finder. The icon will have the same name as the DMG, and you’ll be able to browse through its contents like any other folder.
Once you are done working with the contents of the file, you will want to remove or “unmount” it from your system. Do this by opening the Finder and clicking the eject icon next to the virtual drive’s icon. Or, go to the Desktop, click once on the icon, and press CMD+E.
Also Useful:Best Gaming Laptops Under $2000
How to Install and Open .dmg Files on a Mac
Software installation with Mac OS X is very different than in the Windows world. On a Windows PC you run an installer, tick off a few checkboxes, and wait for the progress meter to reach completion. There usually is no such “installation wizard” on a Mac &emdash; you simply drag and drop the program into your computer’s “Applications” directory. The trick is that most Mac applications are distributed as images called DMG files, and many new Mac users end up running applications directly from the image instead of installing them to the “Applications” directory.
Enough explanation, here’s how to install an OS X app from a DMG file:
- Find the downloaded file, which usually ends up in your Desktop or Downloads folder.
- Double-click the .DMG file to mount it. A new Finder window showing its contents should appear.
- If the window also contains a shortcut icon to “Applications”, drag and drop the app onto the shortcut.
- If not, double-click the mounted volume on your desktop and drag the app icon from there to the “Applications” icon in the Finder sidebar.
Further Explanation
Alright, that was the abridged version. Here’s the long version. I’ve just downloaded the DeskLickr application, and the DeskLickr_1.2.dmg is sitting on my desktop. I double-click it and a new icon labeled “DeskLickr 1.2” appears on my desktop. Here’s what my desktop looks like at this point:
Since most of the time a new Finder window also pops up when the image is ready for use, this one is now sitting on my desktop:
Different applications are going to show you slightly different Finder windows. Each application’s designers like to add their own artwork. Glitter aside, most applications are trying to tell you the same thing. See the arrow pointing from the DeskLickr icon to the “Applications’ shortcut? It’s telling you to drag and drop the icon into that folder. Once you’ve done so, the app will be installed.
If a program doesn’t provide a shortcut to the Applications folder, you’ll need to pop open a new Finder window. Press CMD+N to open a new window, then drag the program over to “Applications” in the left-hand side of the window.
Also useful: How to CTRL + ALT + DEL on a Mac
House Cleaning
Once the new program is installed it’s time to do some house cleaning. You no longer need the disk image you downloaded, so follow these steps:
- Close any Finder windows that have been left open.
- Eject the disk image (not the .DMG file). Click on its desktop icon, then press CMD+E.
- Delete the .DMG file by dragging it to the trash.
That’s it! Your new Mac application is ready to use. But wait…
Bonus Tip: Add Your New Application to the Dock
I knew you were going to ask, so I figured I would cut you off at the pass. In order to add the new application to the dock, follow these steps:
- Open up a new Finder window.
- Click on “Applications”.
- Locate your new program’s icon.
- Drag the icon to your Dock, and drop it wherever you like.
Also Check:Cool Fortnite Names of 2020
Mac OS X doesn’t have an obvious way to view the exact text based path to a folder (otherwise known as a directory) in the finder window. You can have it show a graphical path, but getting just the text based path to a directory (for use in the Terminal for example) requires a couple of extra steps.
Yosemite users special note
Apple removed the ability to easily copy the file path in OS X Yosemite. Yosemite users must now follow a complicated procedure of creating a Service to do this simple task or take the path directly from the command line.
El Capitan - Built in file path copy function
If you are a El Capitan user you are in luck, Apple has now created a specific command to capture the file path. Instructions on how to use this can be found here.
Mavericks and below - How to find the Absolute Path to a folder on Mac OS X
Here are the instructions for finding the file path on Mavericks and below...
The first thing to do is identify the folder you need to know the full path for. In this example it’s the “month 1″ folder of my Insanity Workout folder (and yes, I did buy Insanity, directly from Amazon actually and these are my back-ups. It’s not pirated like so much Beachbody stuff unfortunately is!):
Now we can simply press the “cmd+i” keys together to open up the “Get Info” window. This displays various bits of info about the folder as you can see below:
You can see that the Get Info window contains the line “Where:” followed by the text folder path. This is the path to the folder we have been looking for. The path to the folder is highlighted and made clearer in the screenshot below:
You can now copy this text based absolute folder path and paste it into your Terminal window. NOTE – If the directory path contains spaces, as the example i have used in this post does, you MUST use ” quotation ” marks around the path when typing it into the Terminal. The screenshot below demonstrates this:
Why might I need to know how to find the path to a folder on Mac?
Knowing the text based absolute path to a folder can be useful for a number of reasons. Being able to locate the precise path allows you to unlock the full power of the Terminal, which can often be faster and more efficient that using the Graphical User Interface.
Mac OS X doesn’t have an obvious way to view the exact text based path to a folder (otherwise known as a directory) in the finder window. You can have it show a graphical path, but getting just the text based path to a directory (for use in the Terminal for example) requires a couple of extra steps.
Yosemite users - special note
Apple removed the ability to easily copy the file path in OS X Yosemite. Yosemite users must now follow a complicated procedure of creating a Service to do this simple task or take the path directly from the command line.
El Capitan - Built in file path copy function
If you are a El Capitan user you are in luck, Apple has now created a specific command to capture the file path. Instructions on how to use this can be found at teh link below:
Mavericks and below - How to find the Absolute Path to a folder on Mac OS X
Here are the instructions for finding the file path on Mavericks and below...
The first thing to do is identify the folder you need to know the full path for. In this example it’s the “month 1″ folder of my Insanity Workout folder (and yes, I did buy Insanity, directly from Amazon actually and these are my back-ups. It’s not pirated like so much Beachbody stuff unfortunately is!):
How To Find Game Folder On Mac Shortcut
Now we can simply press the “cmd+i” keys together to open up the “Get Info” window. This displays various bits of info about the folder as you can see below:
You can see that the Get Info window contains the line “Where:” followed by the text folder path. This is the path to the folder we have been looking for. The path to the folder is highlighted and made clearer in the screenshot below:
New Folder On Mac
You can now copy this text based absolute folder path and paste it into your Terminal window. NOTE – If the directory path contains spaces, as the example i have used in this post does, you MUST use ” quotation ” marks around the path when typing it into the Terminal. The screenshot below demonstrates this:
Why might I need to know how to find the path to a folder on Mac?
How To Find Folder Options
Knowing the text based absolute path to a folder can be useful for a number of reasons. Being able to locate the precise path allows you to unlock the full power of the Terminal, which can often be faster and more efficient that using the Graphical User Interface.