FIX: Oracle VirtualBox Mac installation failed

Milan Stanojevic
by Milan Stanojevic
Deputy Editor
0 Comments
Download PDF
Affiliate Disclosure

  • Virtual machines can be useful, and one of the most popular programs for virtualization is VirtualBox.
  • Many Mac users reported Installation failed message while trying to install VirtualBox, so today we’ll show you how to fix that.
  • We covered VirtualBox in the past, and for more guides like this one, visit our dedicated VirtualBox section.
  • If you’re interested in our other Mac guides, be sure to check our Mac Hub.
oracle virtualbox mac installation failed

VirtualBox is a useful virtualization software, and it’s available on all major desktop platforms, Mac included.

Unfortunately, some users reported that Oracle VirtualBox installation failed on Mac, and in today’s article, we’re going to show you how to fix this issue for good.

Ad

How can I fix Installation failed message in Oracle VirtualBox on Mac?

1. Check your system settings

  1. Open the Apple menu and choose System Preferences.
  2. Navigate to the Security & Privacy section.
  3. Now make sure that Allow apps downloaded from is set to App Store and identified developers. If not, click the lock icon and change it.
    allow apps downloaded from oracle virtualbox mac installation failed

Alternatively, you can do this:

  1. Go to the Security & Privacy section again.
  2. You should see System software from developer “Oracle America, Inc.” was blocked from loading message at the bottom.
  3. Click the Allow button next to it.
  4. Now try to run the installation again.

Few users suggested that you need to start the VirtualBox installation and follow the steps on the screen until you see Change Install Location option and then try the method from above.


2. Use the Terminal

  1. Open the Terminal.
    terminal oracle virtualbox mac installation failed
  2. Run the following command:
    • sudo kextcache --clear-staging

Once the command is executed, check if the issue is still there. Several users reported that this method helped them fix Installation failed message while installing VirtualBox, so be sure to try it.


3. Run the Terminal from the Recovery Mode

  1. Restart your Mac.
  2. Immediately press and hold Command + R until you see an Apple logo or a spinning globe.
  3. Click on Utilities and select the Terminal.
  4. Run the following command:
    • spctl kext-consent add VB5E2TV963
  5. Restart your Mac.

4. Forcibly change your security settings

  1. Open the Terminal.
  2. Now run the following command:
    • sudo spctl --master-disable
  3. Close the Terminal.
  4. Make sure System Preferences is open.
  5. Hold the Option key, right-click System Preferences in the Dock and choose Force Quit.
  6. Open System Preferences again and set Allow apps downloaded from to Anywhere.
  7. You should now see the Allow button, click it and try to install VirtualBox. If the button doesn’t appear, try to install VirtualBox and it will appear.

Few users reported that Anywhere option from Step 7 isn’t available for them. If that’s the case, you need to run Steps 1-6 several times. According to users, sometimes this process can take several tries.

After you install Virtual Box, just start the Terminal and run this command to enable app installation security:

sudo spctl --master-enable

Installation failed message while installing Oracle VirtualBox can be problematic, but you should be able to fix it on your Mac with our solutions.

FAQ: Learn more about VirtualBox

  • Can I install VirtualBox on Mac?

Yes, you can install VirtualBox on Mac, but you can also use other PC emulation software.

  • Does VirtualBox work on Mac?

Yes, VirtualBox works on Mac, but keep in mind that you can encounter VirtualBox installation errors just like on Windows.

  • How do I download VirtualBox on my Macbook Pro?

To download VirtualBox, just visit the developer’s website and download the setup file from there.

Ad
Ad