Install homebrew in Ubuntu 14.04
I'm trying to install homebrew on my Ubuntu. I followed all these instructions and used these commands:
ruby -e "$(curl -fsSL )"
export PATH="$HOME/.linuxbrew/bin:$PATH"
export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"
export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"But when I run this:
brew tap homebrew/dupes I get this error:
No command 'brew' found, did you mean:
Command 'qbrew' from package 'qbrew' (universe)
Command 'brec' from package 'bplay' (universe) 0 6 Answers
It says that you need these packages:
sudo apt-get install build-essential curl git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-devSo, installing the above packages will solve your issue.
1Since Feb 2018, you install linuxbrew (=homebrew for linux) just by:
sudo apt install linuxbrew-wrapper 2 For Ubuntu 20.04, you can see this post here: . Simply follow the instructions to add Homebrew to your PATH.
One more package is needed in addition to those mentioned in Raphael's answer
sudo apt-get install build-essential curl git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev
sudo apt install linuxbrew-wrapper 0 Ubuntu 20.04, I used Alternative Installation
git clone ~/.linuxbrew/Homebrew
mkdir ~/.linuxbrew/bin
ln -s ~/.linuxbrew/Homebrew/bin/brew ~/.linuxbrew/bin
eval $(~/.linuxbrew/bin/brew shellenv)Info:
1Please refer this
Install
Paste at a terminal prompt:
sh -c "$(curl -fsSL )"