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%
网友评论