美文网首页
CentOS7.2安装RAR

CentOS7.2安装RAR

作者: AdapterN | 来源:发表于2017-05-14 16:05 被阅读97次

1. 安装、编译二进制包

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

2. 使用rar命令解压demo.rar

$rar x demo.rar 
#rar: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

$yum whatprovides libstdc++.so.6

#Loaded plugins: fastestmirror, langpacks
#Loading mirror speeds from cached hostfile
# * base: mirrors.sohu.com
# * extras: mirrors.aliyun.com
# * updates: mirrors.aliyun.com
#libstdc++-4.8.5-11.el7.i686 : GNU Standard C++ Library
#Repo        : base
#Matched from:
#Provides    : libstdc++.so.6

$su root
$yum -y install libstdc++-4.8.5-11.el7.i686

$rar x frd.rar
#RAR 3.93   Copyright (c) 1993-2010 Alexander Roshal   15 Mar 2010
#Shareware version         Type RAR -? for help
#Extracting from frd.rar
#Extracting  KANGZHUANG_20170512.DMP                    70%

相关文章

网友评论

      本文标题:CentOS7.2安装RAR

      本文链接:https://www.haomeiwen.com/subject/dqpqxxtx.html