Honestly - people like to make things complicated here. DMGs are the way we install apps on Macs (at least 90% of the time) so just forget all you've learned on the PC, double-click on the DMG and drag the application to the 'Applications' folder
Although to confirm this you might want to tell us what it is you're trying to install, just in case it's one of the apps involving a package installer