centOS上不支持rar解压,需要额外安装软件,收费版是unrar,免费版是
unar在centOS上安装需要源码编译,下面是安装方法:
1.安装依赖
yum install gnustep-base-devel
yum install zlib-devel
yum install bzip2-devel
yum install openssl-devel
yum install libicu-devel
2.安装编译依赖
yum install gcc-objc.x86_64
yun install gcc-objc++.x86_64
yum install mingw64-gcc-objc.x86_64
yum install mingw64-gcc-objc++.x86_64
3.下载并编译源码
cd XADMaster
make -f Makefile.linux
4.安装
编译成功后XADMaster下出现unar可执行文件
复制到/usr/bin,/usr/local/bin即可