1,421   Linux RedHat

发现使用yum提示没有找到包,那下载源码安装吧,
下载地址:http://www.rarsoft.com/download.htm
具体地址:http://www.rarsoft.com/rar/rarlinux-x64-5.3.0.tar.gz

一,安装
安装过程

  $ wget http://www.rarsoft.com/rar/rarlinux-x64-5.3.0.tar.gz
  $ tar -xvf rarlinux-x64-5.3.0.tar.gz 
  $ cd rar
  $ make
   

然后使用,结果报错了

$ rar 
$ rar: /lib/tls/libc.so.6: version `GLIBC_2.7' not found (required by rar)
$ unrar /lib/tls/libc.so.6: version `GLIBC_2.7' not found (required by unrar)

解决方法如下:

$ cd rar
$ cp rar_static /usr/local/bin/rar 
$ cp rar_static /usr/local/bin/unrar

直接覆盖掉就可以用啦

二,使用

安装原来目录结构解压指定文件名

$ unrar x store.rar store



Leave a Reply

Your email address will not be published. Required fields are marked *