Homebrew error occurred when I command “brew cask install virtualbox” or “brew cask search google-chrome”

后端 未结 4 444
南笙
南笙 2021-02-05 00:16

I\'m trying to install virtual box with brew-cask, but That returns this kind of error and I cannot install virtualbox. I use MacOSX Lion 10.7.5 and homebrew 0.9.5, ruby 2.1.0-p

4条回答
  •  自闭症患者
    2021-02-05 00:55

    The homebrew-cask repository has moved. Did you try:

    brew tap caskroom/cask
    brew install brew-cask
    brew cask install virtualbox
    

    instead of phinz?

    Update:

    As Jon Nalley points out, brew install brew-cask is now deprecated:

    Important December 2015 update: Homebrew-Cask will now be kept up to date together with Homebrew (see #15381 for details). If you haven’t yet, run brew uninstall --force brew-cask; brew update to switch to the new system.

提交回复
热议问题