We’re going to download the dmg to get access to the uninstaller tool.
Using this method is more efficient than dragging the program to your trash as it will ensure that all files associated with VirtualBox are deleted from our Mac. Lucky for us, VirtualBox has an uninstaller tool that is built into the dmg (disk image) of the app that we’re going to use. While you can do it that way, that won’t provide you with a clean uninstall of the app. Uninstalling VirtualBox requires a couple of extra steps rather than dragging the app to your trash.