Linuxbrew: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 36: | Line 36: | ||
# add linuxbrew environment variable into the PATH | # add linuxbrew environment variable into the PATH | ||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | ||
export HOMEBREW_NO_INSTALL_CLEANUP=TRUE | |||
export HOMEBREW_AUTO_UPDATE_SECS=86400 | |||
ENV | ENV | ||
</syntaxhighlight> | </syntaxhighlight> |
Latest revision as of 00:43, 24 July 2024
echo 'apt-get update;echo;apt list -a --upgradable;apt-get upgrade -y'|sudo bash
| |
| |
cat <<-'EXE'|sudo bash
for package in apt-transport-https ca-certificates gnupg
do apt-get install -y ${package};done
EXE
|
cat <<-'EXE'|sudo bash
for package in build-essential procps curl file git
do apt-get install -y ${package};done
EXE
|
| |
bash <(curl -fsSL 'https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh')
cat <<-'ENV' | tee -a ${HOME}/.bashrc >/dev/null
# add linuxbrew environment variable into the PATH
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
export HOMEBREW_NO_INSTALL_CLEANUP=TRUE
export HOMEBREW_AUTO_UPDATE_SECS=86400
ENV
| |
| |
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
|
Playground
brew services list
brew search derby
brew cleanup
brew doctor
|
brew services -h
brew services
brew tap -h
brew tap
|
brew services start mongodb
brew services info mongodb
brew services stop mongodb
brew tap | grep mongodb
|
| ||
brew deps --tree --installed
brew list --pinned
brew list --cask
brew list
|
brew uninstall derailed/k9s/k9s
brew install derailed/k9s/k9s
brew update
brew info
|
brew search pyenv
brew search rbenv
brew install pyenv
brew install rbenv
|
| ||
brew config
|
References
| ||