雑めも
ANYENV_ROOTを設定しないと
anyenv install -l
で何も表示されなかった。
cd /opt
git clone https://github.com/riywo/anyenv
echo 'export PATH="/opt/anyenv/bin:$PATH"' >> /etc/profile.d/anyenv.sh
echo 'export ANYENV_ROOT="/opt/anyenv"' >> /etc/profile/anyenv.sh
echo 'eval "$(anyenv init -)"' >> /etc/profile
exec $SHELL -l
実行環境はcent6.5