목차

HomeBrew

Linux

Install on Linux

sudo apt install build-essential git curl
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
echo | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

brew PATH 후순위로 만들기 / MANPATH 덮어 쓰는 문제 해소

export MANPATH=$(manpath --quiet)
OLDPATH=$PATH
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
export PATH=$OLDPATH:${HOMEBREW_PREFIX}/bin:${HOMEBREW_PREFIX}/sbin
 
# ....

uninstall/remove homebew on Linux

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)"
sudo rm -rf /home/linuxbrew
 
# 본인 계정의 ~/.bashrc 에 등록된 homebrew 관련 스크립트 제거

clean up

# 더이상 불필요해진 의존성 삭제
brew autoremove
 
# 캐시 전체 삭제
brew cleanup --prune=all

tap

Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the 4d63/tldr tap (not Homebrew/brew or Homebrew/core):
  /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/4d63/homebrew-tldr/Formula/tldr.rb:6
brew remove tldr
brew untap 4d63/tldr

linux fonts

brew tap linuxbrew/fonts  # 한번만
 
# font 설치
 
# font 디렉토리 연결 : 한번만
ln -s /home/linuxbrew/.linuxbrew/share/fonts ~/.local/share/fonts
 
# font 갱신
fc-cache -fv

bundle

유사 패키지 관리자

참조