export PATH=$PATH:/usr/local/....(你的环境变量路径)
#在~/.bashrc文件末尾添加如下: PATH = $PATH:/usr/local/...(待添加路径) export PATH 保存;
source ~/.bashrc echo $PATH