https://blog.csdn.net/wwwlyj123321/article/details/83147242 不足点:将环境路径添加到.bashrc文件里。 source ~/.bashrc 将添加到文件中的路径生效。