admin管理员组文章数量:1632159
Linux本身不支持unrar和rar命令,需要我们安装RAR for Linux
下载rar 软件
[root@localhost ~]# wget https://www.rarlab/rar/rarlinux-x64-5.9.0.tar.gz
2.安装
[root@iZf8ze76gcpdjr5dtx1l53Z ~]# tar xf rarlinux-x64-5.9.0.tar.gz
[root@iZf8ze76gcpdjr5dtx1l53Z ~]# cd rar/
[root@iZf8ze76gcpdjr5dtx1l53Z rar]# ls
acknow.txt license.txt order.htm rarfiles.lst readme.txt whatsnew.txt
default.sfx makefile rar rar.txt unrar
[root@iZf8ze76gcpdjr5dtx1l53Z rar]# make && make install
3.压缩和解压用法
压缩:rar a [不含.rar后缀的压缩包名字] [需要压缩的文件或者文件夹]
解压:rar x [rar的压缩包]
3.解压例子
#压缩
[root@iZf8ze76gcpdjr5dtx1l53Z ~]# rar a tmp.rar /tmp
#解压
[root@iZf8ze76gcpdjr5dtx1l53Z ~]# rar x tmp.rar
版权声明:本文标题:阿里云解压zip linux,Linux 下解压rar压缩包 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/xitong/1729115047a1187218.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论