进入bashrc:

vim ~/.bashrc

在最后一行添加路径:

export PATH=$PATH:your path (.../bin)

执行:

exec ~/.bashrc

更多推荐