Linux下安装rar命令,简易而不简单

wget https://www.rarlab.com/rar/rarlinux-x64-5.5.0.tar.gz
tar -zxvf rarlinux-x64-5.5.0.tar.gz
cd rar
make install
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

--解压

unrar e -y bt_ext_behaviour_data.rar

--归档

rar a bt_ext_behaviour_data.rar bt_ext_behaviour_data.txt


你可能感兴趣的:(Linux,Shell)