在redhat5安装7z报错 提示权限不够
./install.sh /usr/local/bin /usr/local/lib/p7zip /usr/local/man /usr/local/share/doc/p7zip installing /usr/local/bin/7za strip: /usr/local/lib/p7zip/stXXXXDZ1Ifb: Permission denied ./install.sh: line 60: echo: write error: 权限不够 ./install.sh: line 61: echo: write error: 权限不够 installing /usr/local/bin/7z 解决方法: 1、首先查看一下是不是在/usr/local/bin 下7z大小为0,是的话请执行第二条 2、找一台安装了7z的服务器把/usr/local/bin 路径下的7z命令拷贝到报错服务器的相应目录下即可 3、如果出现7z命令找不到,请按照以下方法处理 [root@localhost lib]# 7z -bash: 7z: command not found 处理方法 echo "export PATH=$PATH:/usr/local/bin" >> /etc/profile source /etc/profile 来源: oschina 链接: https://my