I have set up git and homebrew, ran brew reset-update
, brew update
and brew doctor
none of these give me errors but when I try to install glew using: brew install glew
it gives me many errors:
fatal: the remote end hung up unexpectedly30.11 MiB | 4.92 MiB/s
fatal: early EOF
fatal: index-pack failed
Error: Failure while executing; `git clone https://github.com/Homebrew/homebrew-cask /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask` exited with 128.
I figured it was because cask wasn't installed(even though from what I've read it's supposed to install with homebrew) so tried to install cask separately too but it also gives me the same error as the bottom one, I've also tried reinstalling git and homebrew, updating everything as well as restarting my mac. Any help would be appreciated.
Homebrew-Cask extends Homebrew and allows you to install large binary files via a command-line tool. You can for example install applications like Google Chrome, Dropbox, VLC and Spectacle. No more downloading . dmg files and dragging them to your Applications folder!
You can use the --casks flag in brew search to "display all locally available casks". $ brew search -h Usage: brew search [options] [text|/text/] Perform a substring search of cask tokens and formula names for text. If text is surrounded with slashes, then it is interpreted as a regular expression.
Homebrew calls its package definition files “formulae” (British plural for “formula”). Homebrew-Cask calls them “casks”. A cask, just like a formula, is a file written in a Ruby-based DSL that describes how to install something. The Cellar is where Homebrew installs things.
brew cask is an extension to standard brew based software management, it's a type of formula that documents the process of installing a graphical application (and not entirely coincidentally closed-source software).
You can install cask using this command:
$ brew install cask
For details, please see https://cask.readthedocs.io/en/latest/guide/installation.html
Homebrew Cask is implemented as part of Homebrew. All Homebrew Cask commands begin with brew
Please refer the link for more details https://github.com/Homebrew/homebrew-cask/blob/master/USAGE.md
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With