How to install VirtualBox on Mac

If you need to run VirtualBox VMs for classwork, you can use VirtualBox in our labs or install it on your own computer. There is a known problem installing VirtualBox on macOS High Siera. Please see the workaround at the end of this guide.
Edit me

Introduction

Oracle VM VirtualBox is a free application that allows you to run virtual machines (VMs) on your computer through software-based and hardware-assisted x86 virtualization. VirtualBox runs on Windows, macOS, and Linux, and supports a wide array of guest operating systems.

Installing VirtualBox on your Mac

  1. Go to VirtualBox’s download page and click “OS X hosts”. A .dmg file should be downloaded to your “Downloads” folder.

    vbox-download

  2. Open the downloaded VirtualBox .dmg file. You will see a screen like this:

    vbox-dmg

  3. Double click on “VirtualBox.pkg” to start the installer

  4. When you see a prompt like below, click “Continue”

    vbox-secure

  5. The installer is now open. Click “Continue”

    vbox-into

  6. You can change where you want VirtualBox installed, or leave the default option and click “Install”

    vbox-install

  7. When prompted with an authentication screen, enter the username and password for your user and click “Install Software”

    vbox-credentials

  8. If you see “The installation failed” screen, then the installer was blocked.

    vbox-failed

  9. Click on the apple logo in the top left and click “System Preferences”

    vbox-system-pref

  10. Click the “Security & and Privacy” option

    vbox-security

  11. Click the padlock icon to allow you to make changes. Then click “Allow” next to the message that software from “Oracle America, Inc.” was blocked.

    vbox-allow

  12. Rerun the installer the same way as before.

Afer the installation completes, VirtualBox will be in your “Applications” folder.