ritarock’s blog

プログラミングとか映画とか趣味とか

ubuntuにlinuxbrew入れてみた

sudo apt install -y build-essential curl git python-setuptools ruby
git clone https://github.com/Linuxbrew/brew.git ~/.linuxbrew

~/.bashrcに以下を追記

export PATH="$HOME/.linuxbrew/bin:$PATH"
export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"
export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"
export XDG_DATA_DIRS="$HOME/.linuxbrew/share:$XDG_DATA_DIRS"

exit ←重要

brew doctor