文章目录

  • 安装
  • 查看使用方法
  • 示例:解压`HEOP-V2.3.0-211230开发指南.rar`压缩包到当前目录下的`./HEOP/`
  • 示例:解压到当前目录

安装

sudo apt install unrar

查看使用方法

注:archived paths 存档路径

unrar
[root@ubuntu /home/yg/H7 HEOP]6# unrarUNRAR 5.30 beta 2 freeware      Copyright (c) 1993-2015 Alexander RoshalUsage:     unrar <command> -<switch 1> -<switch N> <archive> <files...><@listfiles...> <path_to_extract\><Commands>e             Extract files without archived paths    (不用存档路径)l[t[a],b]     List archive contents [technical[all], bare]p             Print file to stdoutt             Test archive filesv[t[a],b]     Verbosely list archive contents [technical[all],bare]x             Extract files with full path (解压指定路径下的文件)<Switches>-             Stop switches scanning@[+]          Disable [enable] file listsad            Append archive name to destination pathag[format]    Generate archive name using the current dateai            Ignore file attributesap<path>      Set path inside archivec-            Disable comments showcfg-          Disable read configurationcl            Convert names to lower casecu            Convert names to upper casedh            Open shared filesep            Exclude paths from namesep3           Expand paths to full including the drive letterf             Freshen filesid[c,d,p,q]   Disable messagesierr          Send all messages to stderrinul          Disable all messageskb            Keep broken extracted filesn<file>       Additionally filter included filesn@            Read additional filter masks from stdinn@<list>      Read additional filter masks from list fileo[+|-]        Set the overwrite modeol[a]         Process symbolic links as the link [absolute paths]or            Rename files automaticallyow            Save or restore file owner and groupp[password]   Set passwordp-            Do not query passwordr             Recurse subdirectoriessc<chr>[obj]  Specify the character setsl<size>      Process files with size less than specifiedsm<size>      Process files with size more than specifiedta<date>      Process files modified after <date> in YYYYMMDDHHMMSS formattb<date>      Process files modified before <date> in YYYYMMDDHHMMSS formattn<time>      Process files newer than <time>to<time>      Process files older than <time>ts<m,c,a>[N]  Save or restore file time (modification, creation, access)u             Update filesv             List all volumesver[n]        File version controlvp            Pause before each volumex<file>       Exclude specified filex@            Read file names to exclude from stdinx@<list>      Exclude files listed in specified list filey             Assume Yes on all queries
[root@ubuntu /home/yg/H7 HEOP]7# 

示例:解压HEOP-V2.3.0-211230开发指南.rar压缩包到当前目录下的./HEOP/

unrar x HEOP-V2.3.0-211230开发指南.rar ./HEOP/

示例:解压到当前目录

unrar e xxx.rar

参考文章:Ubuntu下unrar指令的简单使用

linux ubuntu如何解压rar文件?unrar相关推荐

  1. linux rar无法运行,linux服务器无法解压rar文件的解决方法

    这里将告诉您linux服务器无法解压rar文件的解决方法,教程操作步骤: 报错是:command not found 解决方法: 先下载一下rarlinux的包,但是尽量下载64位的,因为现在的服务器 ...

  2. 服务器无法打开.rar文件,linux服务器无法解压rar文件的解决方法

    linux服务器无法解压rar文件的解决方法 报错是:command not found 解决方法: 先下载一下rarlinux的包,但是尽量下载64位的,因为现在的服务器基本都是64位的,如果你不小 ...

  3. linux图形界面解压rar文件夹,压缩与解压

    出自Linux Wiki 提示:此文已超过 5 年(1880 天)未更新,如发现内容过时或有误,欢迎改进:) 本文介绍Linux环境中处理rar.zip.gz.bz2.tar等常见压缩/归档文件的方法 ...

  4. linux系统如何解压rar文件怎么打开,在Linux下如何打开RAR压缩文件

    关键词: 在Windows下常见的RAR压缩文件在Linux下目前还没有免费的打开工具. 如果要用,只能用RAR的Linux试用版本. 下载地址是:http://www.rarlab.com/down ...

  5. ubuntu中解压rar文件遇到乱码的解决方法

    如上图所示,在用ubuntu的时候经常会遇见rar压缩文件打开出现乱码,解压的时候也会出现无效的编码等错误. 解决方法是用 sudo apt-get remove rar 卸载rar 然后用 sudo ...

  6. linux下如何解压RAR文件

    在WINDOWS平台下压缩成的RAR文件,如何在LINUX平台下进行解压,linux平台默认是不支持RAR文件的解压,需要安装linux版本的RAR压缩软件,下载地址为: http://www.rar ...

  7. Linux unrar命令如何按目录解压rar文件

    [转载]Linux下如何解压rar文件 对于.rar要在linux下处理.rar文件,需要安装RAR for Linux,可以从网上下载,但要记住, RAR for Linux 不是免费的:可从htt ...

  8. linux服务器中如何解压分卷文件,Linux解压rar文件(unrar安装和使用,分卷解压)...

    windows平台很多压缩文档为rar文件,那么怎么做到Linux解压rar文件(unrar安装和使用)? 简单,centos5安装unrar即可. unrar安装 方法如下: wget  http: ...

  9. 7.ubuntu 19.04 64位系统下如何解压.rar文件

    Linux下如何解压.rar文件 系统版本:ubuntu 19.04 64位 Linux下如何解压.rar文件,对于Window下的常见压缩文件.rar,Linux也有相应的方法来解压它们: RAR  ...

最新文章

  1. CORS漏洞利用检测和利用方式
  2. WP8.1 Study4:WP8.1中控件集合应用
  3. gj10 python socket编程
  4. 两个计算机系统安装,如何在一台电脑上同时重装两个系统|戴尔电脑怎么安装两个系统...
  5. Java的Gradle依赖关系,使用编译还是实现?
  6. 前端学习(661):逻辑运算符
  7. Js对接口数据归类整理
  8. 2、两数相加(python)
  9. java 根据省份证号-判断省份-性别-生日
  10. 计算机无法屏保,Win7屏幕保护程序不能修改怎么办 win7无法设置电脑屏幕保护程序如何解决...
  11. Minimax Problem
  12. 电脑系统优化清理工具CCleaner
  13. 8款国内外主流商业智能BI工具分析,助你轻松选型!
  14. uva 1395 Silm Span 【MST-Kruskal】
  15. 华大HC32L13x 串口波特率设置为115200打印乱码问题
  16. OpenWiFi简介与学习记录
  17. 工程机械租赁商如何对世界各地设备进行统一集中管理
  18. HTML中文字间距调整
  19. mbp适合程序员_听说这两款是最适合程序员编程的电脑
  20. 学习笔记1--过滤器代理

热门文章

  1. Android AIDL的实现
  2. SQL SERVER 子查询的用法
  3. [零基础学JAVA]Java SE面向对象部分-08.面向对象基础(03)
  4. 搭建简易Linux局网服务器
  5. tcount在哪个文件里_在cad中tcount快速编号命令怎么用,求教
  6. 【学习笔记】34、函数是Python的头等对象
  7. oracle的簇与簇表
  8. SAP顾问,市场的双重需求
  9. 定义分销渠道(distribution channel)
  10. PowerPivot—无法从数据模型中获取数据