• SIS Lab
  • >
  • Blogs
  • >
  • How to install Virtualbox and Vagrant by installing by cli with Mac El Capitan

How to install Virtualbox and Vagrant by installing by cli with Mac El Capitan

更新日:2023.05.05 作成日:2016.05.16

Environment

  • El Capitan Version 10.11.4

Problem

I faced below message after downloading dmg file and double-clicking Vagrant.pkg or Virtualbox.pkg.

How to install Virtualbox and Vagrant by installing by cli with Mac El Capitan

Cause

I can’t install because System Integrity Protection(SIP).

Reference

virtualbox.org • View topic - [INSTALL] Verifying “VirtualBox.pkg”… never clears – El Cap 10.11.4

Solution

  1. Disable System Integrity Protection(SIP)
  2. Install with command sudo installer

Now, I explain “2. Install with command sudo installer”.

How to install

1.Mount

hdiutil mount VirtualBox-5.0.18-106667-OSX.dmg

2.Install

sudo installer -pkg /Volumes/Vagrant/Vagrant.pkg -target /Volumes/Macintosh\ HD

3.Unmount

hdiutil mount VirtualBox-5.0.18-106667-OSX.dmg

Conclusion

I’m able to install clearly the above ways.