Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

homebrew not in path on ubuntu

sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"

export brew=/home/linuxbrew/.linuxbrew/bin

test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)

test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)

test -r ~/.profile && echo "eval $($(brew --prefix)/bin/brew shellenv)" >>~/.profile     // for ubuntu and debian
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #homebrew #path #ubuntu
ADD COMMENT
Topic
Name
8+3 =