Linuxbrew: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<syntaxhighlight lang="bash"> sudo apt update sudo apt install apt-transport-https ca-certificates sudo apt install build-essential procps curl file git bash <(curl -fsSL 'https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh') </syntaxhighlight> == References == {| | valign="top" | * [https://docs.brew.sh/Homebrew-on-Linux Linuxbrew] | valign="top" | | valign="top" | |- | colspan="3" | ---- |- | valign="top" | * Linux Containers * Homebrew * T...") |
No edit summary |
||
(21 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| | |||
| valign="top" colspan="2" | | |||
<syntaxhighlight lang="bash"> | |||
echo 'apt-get update;echo;apt list -a --upgradable;apt-get upgrade -y'|sudo bash | |||
</syntaxhighlight> | |||
|- | |||
| colspan="2" | | |||
---- | |||
|- | |||
| valign="top" | | |||
<syntaxhighlight lang="bash"> | |||
cat <<-'EXE'|sudo bash | |||
for package in apt-transport-https ca-certificates gnupg | |||
do apt-get install -y ${package};done | |||
EXE | |||
</syntaxhighlight> | |||
| valign="top" | | |||
<syntaxhighlight lang="bash"> | |||
cat <<-'EXE'|sudo bash | |||
for package in build-essential procps curl file git | |||
do apt-get install -y ${package};done | |||
EXE | |||
</syntaxhighlight> | |||
|- | |||
| colspan="2" | | |||
---- | |||
|- | |||
| valign="top" colspan="2" | | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
bash <(curl -fsSL 'https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh') | 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 | |||
</syntaxhighlight> | |||
|- | |||
| colspan="2" | | |||
---- | |||
|- | |||
| valign="top" colspan="2" | | |||
<syntaxhighlight lang="bash"> | |||
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" | |||
</syntaxhighlight> | |||
|} | |||
==Playground== | |||
{| | |||
| valign="top" | | |||
<syntaxhighlight lang="bash"> | |||
brew services list | |||
brew search derby | |||
brew cleanup | |||
brew doctor | |||
</syntaxhighlight> | |||
| valign="top" | | |||
<syntaxhighlight lang="bash"> | |||
brew services -h | |||
brew services | |||
brew tap -h | |||
brew tap | |||
</syntaxhighlight> | |||
| valign="top" | | |||
<syntaxhighlight lang="bash"> | |||
brew services start mongodb | |||
brew services info mongodb | |||
brew services stop mongodb | |||
brew tap | grep mongodb | |||
</syntaxhighlight> | |||
|- | |||
| colspan="3" | | |||
---- | |||
|- | |||
| valign="top" | | |||
<syntaxhighlight lang="bash"> | |||
brew deps --tree --installed | |||
brew list --pinned | |||
brew list --cask | |||
brew list | |||
</syntaxhighlight> | </syntaxhighlight> | ||
| valign="top" | | |||
<syntaxhighlight lang="bash"> | |||
brew uninstall derailed/k9s/k9s | |||
brew install derailed/k9s/k9s | |||
brew update | |||
brew info | |||
</syntaxhighlight> | |||
| valign="top" | | |||
<syntaxhighlight lang="bash"> | |||
brew search pyenv | |||
brew search rbenv | |||
brew install pyenv | |||
brew install rbenv | |||
</syntaxhighlight> | |||
|- | |||
| colspan="3" | | |||
---- | |||
|- | |||
| valign="top" | | |||
<syntaxhighlight lang="bash"> | |||
brew config | |||
</syntaxhighlight> | |||
| valign="top" | | |||
| valign="top" | | |||
|} | |||
== References == | == References == | ||
{| | {| | ||
| valign="top" | | | valign="top" | | ||
* [https://docs.brew.sh/Homebrew-on-Linux | * [https://stackoverflow.com/questions/56206172/ Brew » Delete » Old Versions] | ||
* [https://github.com/sdkman/homebrew-tap Brew » Tap » SDKMan] | |||
* [https://stackoverflow.com/questions/34408147/ Brew » Tap » Mean?] | |||
* [[Homebrew|Brew » Homebrew]] | |||
* [https://docs.brew.sh/Homebrew-on-Linux Brew] | |||
| valign="top" | | | valign="top" | | ||
Line 20: | Line 139: | ||
|- | |- | ||
| valign="top" | | | valign="top" | | ||
* [[Google Cloud CLI]] | |||
* [[Linux Containers]] | * [[Linux Containers]] | ||
* [[Terraform]] | * [[Terraform]] | ||
* [[Remmina]] | * [[Remmina]] | ||
Line 33: | Line 152: | ||
| valign="top" | | | valign="top" | | ||
* [https://serverfault.com/questions/283129/ SSH » Connection Hang Forever] | * [https://serverfault.com/questions/283129/ SSH » Connection Hang Forever] | ||
* [[Docker]] | * [[Docker]] | ||
* [[HTTPie]] | * [[HTTPie]] | ||
* [[Jasypt]] | * [[Jasypt]] | ||
* [[EKSctl]] | |||
* [[PyEnv]] | |||
* [[TMux]] | * [[TMux]] | ||
* [[CURL]] | * [[CURL]] |
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
| ||