Contents
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
wget http://www.rarlab.com/rar/rarlinux-x64-5.3.0.tar.gz

tar -zxvf rarlinux-x64-5.3.0.tar.gz

cd 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

rar x test.rar //解压 test.rar 到当前目录

rar test.rar ./test/ //将 test目录打包为 test.rar

转载自https://blog.csdn.net/weixin_41404058/article/details/80304869

Contents