Answered by : excited-eland-lf0pdbcix63m
git clone https://github.com/Homebrew/brew ~/.linuxbrew/Homebrew
mkdir ~/.linuxbrew/bin
ln -s ~/.linuxbrew/Homebrew/bin/brew ~/.linuxbrew/bin
eval $(~/.linuxbrew/bin/brew shellenv)
Source : https://docs.brew.sh/Homebrew-on-Linux | Last Update : Tue, 22 Dec 20
Answered by : smoggy-seahorse-26x0rcth71qt
sudo apt update
sudo apt-get install build-essential
sudo apt install git -y
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
brew doctor
brew install gcc
echo "done"
Source : https://www.how2shout.com/linux/how-to-install-brew-ubuntu-20-04-lts-linux/ | Last Update : Fri, 01 Jul 22
Answered by : maryam-askari
# Issue an update command
sudo apt update
sudo apt-get install build-essential
# Run Hommbrew installation Script
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# add Homebrew to your PATH
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
Source : https://dikabrenda.medium.com/how-to-install-brew-on-ubuntu-20-04-lts-linux-714c73379dd4 | Last Update : Sat, 30 Dec 23
Answered by : adwaith-manish
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Source : https://brew.sh/ | Last Update : Sun, 06 Dec 20
Answered by : ben-riemer
# Install script https://brew.sh/
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Follow the Next steps instructions to add Homebrew to your PATH and to your bash shell rcfile, either ~/.bashrc for bash or ~/.zshrc for zsh.
test -d ~/.linuxbrew && eval "$(~/.linuxbrew/bin/brew shellenv)"
test -d /home/linuxbrew/.linuxbrew && eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> ~/.bashrc
# You’re done! Try installing a package:
brew install hello
Source : https://brew.sh/ | Last Update : Mon, 25 Mar 24
Answered by : successful-salamander-uljtnjpj6dld
test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)
test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile
echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile
Source : https://docs.brew.sh/Homebrew-on-Linux | Last Update : Thu, 09 Jul 20
Answered by : drab-dolphin-s0gcuycuj3d2
{"tags":[{"tag":"textarea","content":"test -d ~\/.linuxbrew && eval \"$(~\/.linuxbrew\/bin\/brew shellenv)\"\ntest -d \/home\/linuxbrew\/.linuxbrew && eval \"$(\/home\/linuxbrew\/.linuxbrew\/bin\/brew shellenv)\"\ntest -r ~\/.bash_profile && echo \"eval \\\"\\$($(brew --prefix)\/bin\/brew shellenv)\\\"\" >> ~\/.bash_profile\necho \"eval \\\"\\$($(brew --prefix)\/bin\/brew shellenv)\\\"\" >> ~\/.profile","code_language":"whatever"}]}
Source : https://docs.brew.sh/Homebrew-on-Linux | Last Update : Sun, 30 Apr 23
Answered by : ramez-hamdy
sudo apt-get install build-essential procps curl file git
Source : https://itsfoss.com/homebrew-linux/ | Last Update : Thu, 06 Jan 22