今天下了一个rarlinux-3.5.1.tar.gz的安装文件
然后通过终端命令解压后进入RAR目录进行操作
cd rar
./configure --prefix=/opt/rar
bash: ./configure: 没有那个文件或目录
make
mkdir -p /usr/local/bin
mkdir -p /usr/local/lib
cp rar unrar /usr/local/bin
cp: 无法创建普通文件“/usr/local/bin/rar”: 权限不够
cp: 无法创建普通文件“/usr/local/bin/unrar”: 权限不够
好像所这个用户权限不够的问题,然后我又切换到ROOT用户下
[root@localhost rar]# make
mkdir -p /usr/local/bin
mkdir -p /usr/local/lib
cp rar unrar /usr/local/bin
cp rarfiles.lst /etc
cp default.sfx /usr/local/lib
[root@localhost rar]# make install
mkdir -p /usr/local/bin
mkdir -p /usr/local/lib
cp rar unrar /usr/local/bin
cp rarfiles.lst /etc
cp default.sfx /usr/local/lib
[root@localhost rar]# rar
rar: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
[root@localhost ~]# unrar
unrar: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
还是不成功,所以现在想问问各位高手应该怎么解决啊!
谢谢哈!