Question: how to install a dmg file in mac?
Answer: double click the DMG to make its content available (name will show up in the Finder sidebar), usually a window opens showing the content as well.
drag the application from the DMG window into /Applications to install (may need an administrator password)
wait for the copy process to finish.