ruby -e “$(curl -fsSL 1, 1,https://raw.githubusercontent.com/Homebrew/install/master/install)”
2, brew install wget
3,wget https://rarlab.com/rar/rarosx-5.6.0.tar.gz
tar -zxvf rarosx-5.6.0.tar.gz
cd rarosx-5.6.0
rar:sudo install -c -o
USERrar/usr/local/bin/unrar:sudoinstall−c−o
U
S
E
R
r
a
r
/
u
s
r
/
l
o
c
a
l
/
b
i
n
/
u
n
r
a
r
:
s
u
d
o
i
n
s
t
a
l
l
−
c
−
o
USER unrar /usr/local/bin