If you get an error ‘Error: Cask virtualbox depends on hardware architecture being one of [{:type=>:intel, :bits=>64}], but you are running {:type=>:arm, :bits=>64}.’ when executing`brew install –cask virtualbox`

Mac

Problem

When I do the command as a follow I came across this error.

brew install --cask virtualbox

Have you experienced to get an error Error: Cask virtualbox depends on hardware architecture being one of [{:type=>:intel, :bits=>64}], but you are running {:type=>:arm, :bits=>64}.?

Cause

It occurs when yor apple silicon Mac computer does't match a software's artifact you are going to install.

Solution

To address this problem, you can try to make your terminal turning on Rosseta which can execute the software developed for intel silicon on apple silicon

How to turn on Rosseta in your terminal

  1. Find terminal application in your finder.
  2. Click your right mouse pad on terminal icon
  3. Select Show Information
  4. Check Open with Rosseta in the checkbox.

コメント

タイトルとURLをコピーしました