技术文档

帮助中心 > 技术文档 >

Linux下如何解压rar压缩文件

2024-02-01 作者:简米科技 阅读量:0 所属分类:技术文档

Linux下如何解压rar压缩文件

操作系统:CentOS 7.x

1、下载解压工具包unar

下载地址:

https://mirrors.ustc.edu.cn/centos/7/os/x86_64/Packages/libobjc-4.8.5-44.el7.x86_64.rpm

https://mirrors.ustc.edu.cn/centos/7/os/x86_64/Packages/avahi-libs-0.6.31-20.el7.x86_64.rpm

https://mirrors.ustc.edu.cn/centos/7/os/x86_64/Packages/wavpack-4.60.1-9.el7.x86_64.rpm

https://mirrors.ustc.edu.cn/centos/7/os/x86_64/Packages/nettle-2.7.1-8.el7.x86_64.rpm

https://mirrors.ustc.edu.cn/centos/7/os/x86_64/Packages/trousers-0.3.14-2.el7.x86_64.rpm

https://mirrors.ustc.edu.cn/centos/7/os/x86_64/Packages/gnutls-3.3.29-9.el7_6.x86_64.rpm

https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/g/gnustep-base-libs-1.24.9-1.el7.x86_64.rpm

https://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/u/unar-1.10.7-1.el7.x86_64.rpm

上传安装包到/usr/local/src目录

2、安装unar工具包

cd /usr/local/src

rpm -ivh libobjc-4.8.5-44.el7.x86_64.rpm

rpm -ivh avahi-libs-0.6.31-20.el7.x86_64.rpm

rpm -ivh wavpack-4.60.1-9.el7.x86_64.rpm

rpm -ivh nettle-2.7.1-8.el7.x86_64.rpm

rpm -ivh trousers-0.3.14-2.el7.x86_64.rpm

rpm -ivh gnutls-3.3.29-9.el7_6.x86_64.rpm

rpm -ivh gnustep-base-libs-1.24.9-1.el7.x86_64.rpm

rpm -ivh unar-1.10.7-1.el7.x86_64.rpm

#yum源安装

yum install epel-release #需要安装epel源

yum install unar

3、解压rar文件

unar file.rar

#Linux解压缩命令

*.tar.gz后缀 解压命令:tar -zxv -f file.tar.gz

*.gz后缀 解压命令:gzip -d file.gz

*.tar.bz2后缀 解压命令:tar -jxv -f file.tar.bz2

.*bz2后缀 解压命令:bzip2 -d file.bz2

*.zip后缀 解压命令:unar file.zip/unzip file.zip

*.rar后缀 解压命令:unar file.rar

至此,Linux下解压rar压缩文件完成。

标签:

本文地址:https://www.iisidc.cn/help/552.html

简米科技服务器支持24小时免费测试


成为简米科技会员,享受出众的上云实践机会和周到的尊贵服务!