问题描述
我正在尝试使用brew-cask安装虚拟盒,但是这会返回这种错误,并且我无法安装virtualbox.我使用MacOSX Lion 10.7.5和Homebrew 0.9.5,ruby 2.1.0-p0
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-p0
我已经在下面的终端中描述了该过程.
I've described the process in Terminal below.
首先,brew tap
命令成功.
$ brew tap phinze/cask
Cloning into '/usr/local/Library/Taps/phinze/homebrew-cask'...
remote: Reusing existing pack: 32538, done.
remote: Counting objects: 36, done.
remote: Compressing objects: 100% (36/36), done.
remote: Total 32574 (delta 16), reused 2 (delta 0)
Receiving objects: 100% (32574/32574), 11.72 MiB | 379 KiB/s, done.
Resolving deltas: 100% (19138/19138), done.
Tapped 1 formula
It looks like you tapped a private repository. To avoid entering your
credentials each time you update, you can use git HTTP credential caching
or issue the following command:
cd /usr/local/Library/Taps/phinze/homebrew-cask
git remote set-url origin git@github.com:phinze/homebrew-cask.git
第二,我已经如下安装了酒桶
Second, I've already installed brew-cask as below
$ brew install brew-cask
Warning: brew-cask-0.35.0 already installed
第三,当我尝试安装virtualbox时,它返回了这种错误,并且我无法安装Virtualbox.
Third, when I tried to install virtualbox, but it returns this kind of error, and I cannot get install the Virtualbox.
$ brew cask install virtualbox
==> Removing legacy Tap
Error: No available cask for virtualbox
推荐答案
自制酒桶存储库已移动.您是否尝试过:
The homebrew-cask repository has moved. Did you try:
brew tap caskroom/cask
brew install brew-cask
brew cask install virtualbox
代替phinz?
更新:
正如乔恩·纳利(Jon Nalley)所指出的,brew install brew-cask
现在是:
As Jon Nalley points out, brew install brew-cask
is now deprecated:
这篇关于当我命令"brew cask install virtualbox"时,出现自制错误.或“酒桶搜索google-chrome";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!