I need Linuxbrew for a certain application, and how can I acquire Linuxbrew?
It is not in the Raspbian package repository, you can verify this with:
sudo apt-cache search linuxbrew.
This is not surprising as this is a non standard way of installing packages on Linux (It is a port of Homebrew from Mac OS).
You can install from source:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install)" PATH="$HOME/.linuxbrew/bin:$PATH"
to your PATH:
echo 'export PATH="$HOME/.linuxbrew/bin:$PATH"' >>~/.bash_profile
reload your .bash_profile
full instructions are available here.
It is but you won't be able to use it as they move to the a ruby version for 64 bits...
Install it via linuxbrew-wrapper:
sudo apt-get install linuxbrew-wrapper
Execute brew and you'll get
brew ======================================================================== For the convenience of using linuxbrew it is recommended to update the following environment variables after installing linuxbrew. PATH, MANPATH, INFOPATH Set HOMEBREW_BOTTLE_DOMAIN environment variable if you prefer some homebrew mirror as your upstream. (example: /usr/share/doc/linuxbrew-wrapper/examples/profile) ======================================================================== ==> This script will install: /home/pi/.linuxbrew/bin/brew /home/pi/.linuxbrew/Library/... /home/pi/.linuxbrew/share/doc/homebrew /home/pi/.linuxbrew/share/man/man1/brew.1 /home/pi/.linuxbrew/share/zsh/site-functions/_brew /home/pi/.linuxbrew/etc/bash_completion.d/brew /home/pi/.cache/Homebrew/ Press RETURN to continue or any other key to abort
After pressing return linux brew will be downloaded and installed.
Anyway, you'll get next error:
==> Pouring portable-ruby-2.3.3_2.armv6_linux.bottle.tar.gz Error: Failed to install vendor ruby. Error: Failed to install vendor Ruby.