Shell/Bash: brew Example

By

Shell/Bash Example: This is the "brew" Example. compiled from many sources on the internet by SimpleTutorials.org

brew

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

brew

echo 'eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)' >> /home/maskedcarrot/.profile
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)

brew

mkdir homebrew && curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew

brew

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

brew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

brew

export HOMEBREW_BREW_GIT_REMOTE="..."  # put your Git mirror of Homebrew/brew here
export HOMEBREW_CORE_GIT_REMOTE="..."  # put your Git mirror of Homebrew/homebrew-core here
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

brew

echo 'eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)' >> /home/maskedcarrot/.profile
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)

brew

$ cd /usr/local
$ find Cellar
Cellar/wget/1.16.1
Cellar/wget/1.16.1/bin/wget
Cellar/wget/1.16.1/share/man/man1/wget.1

$ ls -l bin
bin/wget -> ../Cellar/wget/1.16.1/bin/wget

brew

$ brew install wget

Xem thêm: active directory user kopieren per powershell

brew

echo 'eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)' >> /home/maskedcarrot/.profile
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)


* Summary: This "brew" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others