homebrewからvirtualboxをインストールしたいのですが、エラーが出ていてインストールできません。
実行したコマンド
$ brew cask install virtualbox
エラー
Error: Command failed to execute! ==> Failed command: /usr/bin/sudo -E -- /usr/sbin/installer -pkg /usr/local/Caskroom/virtualbox/5.2.4-119785/VirtualBox.pkg -target / ==> Standard Output of failed command: installer: Package name is Oracle VM VirtualBox installer: Installing at base path / installer: The install failed (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.) ==> Standard Error of failed command: ==> Exit status of failed command:
この時、エラーと同時にセキュリティに関するアラートが表示されたのですが、消してしまい、、、
もう一度インストールし直そうと思い、AppCleanerを使って途中までインストールされたvirtualboxを削除してもう一を同じコマンドを叩いたのですが、同じエラーで止まってしまいました。
どのように解決ししたら良いでしょか?
御教授お願いします。
解決済のマークをお願いします。