摘要: 出现这个问题的时候,会发现好多的命令无法使用,因为环境变量失效 处理方法如下 export PATH=$PATH:/usr/bin:/usr/sbin:/bin:/sbin 这样处理后,临时生效环境变量,然后修改配置错误的文件例如.bash_profile /etc/profile .bashrc 阅读全文
posted @ 2021-02-19 18:15 zclinux 阅读(638) 评论(0) 推荐(0)
摘要: 编译安装在执行./configure步骤报错,是因为缺少环境变量 checking for C compiler … not found./configure: error: C compiler cc is not found 解决办法,安装环境需要 yum install gcc gcc-c++ 阅读全文
posted @ 2021-02-19 18:13 zclinux 阅读(1068) 评论(0) 推荐(0)