阿里云解压zip linux,Linux 下解压rar压缩包
Linux本身不支持unrar和rar命令,需要我们安装RAR for Linux
下载rar 软件
[root@localhost ~]# wget https://www.rarlab.com/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
上一篇: 解压Linux文件使用的unzip命令
下一篇: 深入剖析Linux的压缩、解压和打包操作
推荐阅读
-
常见的针对阿里云 Linux CentOS 的解压指令
-
在Linux系统下,使用命令解压zip文件
-
阿里云解压zip linux,Linux 下解压rar压缩包
-
在Linux系统下安装和使用软件解压RAR文件的方法
-
使用 winzip 生成的扩展名为 -ZIP 的压缩文件通常使用".zip "扩展名,其 MIME 格式为 application/zip。(推荐学习:phpstorm) 目前,ZIP 格式属于几种主流压缩格式之一,其竞争对手包括 RAR 格式和开源的 7z 格式。 从性能对比来看,RAR 和 7z 格式比 ZIP 格式压缩率更高,而 7-Zip 由于提供免费压缩工具而逐渐在更多领域得到应用。 微软从 Windows ME 操作系统开始就内置了对 zip 格式的支持,即使用户没有在电脑上安装解压软件,也可以打开和创建 zip 格式的压缩文件,OS X 和流行的 Linux 操作系统也提供了类似的 zip 格式支持。 因此,如果要在网络上传播和分发文件,zip 格式往往是最常见的选择。
-
如何在 Linux 下解压 rar 文件
-
在Linux中轻松解压:tar.xz、tar、tar.gz、tar.bz2、tar.Z、rar、zip和war等各类压缩文件指南
-
轻松掌握Linux:详解tar、zip与rar的解压缩功能
-
快速指南:Linux中常用的压缩与解压工具(tar, tgz, tar.gz, tar.bz2, tar.xz, 7z, zip 及 rar)总结
-
如何在 Linux/Ubuntu 中解压各种文件类型:.tar, .gz, .tar.gz, .bz2, .tar.bz2, .zip 及 .rar - 操作步骤讲解 for *.bz2 文件