1. 下载RAR安装包:

    http://www.rarsoft.com/download.htm 
  2. 我的是CentOS 64位:
    wget http://www.rarsoft.com/rar/rarlinux-x64-5.1.1.tar.gz 
  3. 解压安装:
    tar -zxvf rarlinux-x64-5.1.1.tar.gz
    
    cd rar
    
    make
    
    #如果出现如下内容则说明安装成功
    RAR 4.20 Copyright (c) 1993-2012 Alexander Roshal 9 Jun 2012
    Trial version Type RAR -? for help Usage: rar <command> -<switch 1> -<switch N> <archive> <files...>
    <@listfiles...> <path_to_extract\> <Commands>
    a Add files to archive
    c Add archive comment
    cf Add files comment
    ch Change archive parameters
    cw Write archive comment to file
    d Delete files from archive
    e Extract files to current directory
    f Freshen files in archive
    i[par]=<str> Find string in archives
    k Lock archive
    l[t,b] List archive [technical, bare]
    m[f] Move to archive [files only]
    p Print file to stdout
    r Repair archive
    rc Reconstruct missing volumes
    rn Rename archived files
    rr[N] Add data recovery record
    rv[N] Create recovery volumes
    s[name|-] Convert archive to or from SFX
    t Test archive files
    u Update files in archive
    v[t,b] Verbosely list archive [technical,bare]
    x Extract files with full path <Switches>
    - Stop switches scanning
    @[+] Disable [enable] file lists
    ad Append archive name to destination path
    ag[format] Generate archive name using the current date
    ai Ignore file attributes
    ...  
  4. 解压命令:
    rar x mysqldate.rar
    

      

Linux 安装rar解压工具的更多相关文章

  1. [转]Ubuntu Linux 安装 .7z 解压和压缩文件

    [转]Ubuntu Linux 安装 .7z 解压和压缩文件 http://blog.csdn.net/zqlovlg/article/details/8033456 安装方法: sudo apt-g ...

  2. Linux打包压缩解压工具

    第1章      Linux 打包压缩解压工具一.压缩.解压工具 compress/uncompress gzip/gunzip bzip2/bunzip2/ bzcat xz/unxz/ xzcat ...

  3. ubuntu 下rar解压工具安装方法

    1.压缩功能安装 sudo apt-get install rar卸载 sudo apt-get remove rar2.解压功能安装 sudo apt-get install unrar卸载 sud ...

  4. linux 下安装rar解压

    在liunx下原本是不支持rar文件的,需要安装liunx下的winrar版本,操作如下 wget http://www.rarsoft.com/rar/rarlinux-4.0.1.tar.gz t ...

  5. centos系统安装rar解压工具unar

    centOS上不支持rar解压,需要额外安装软件,收费版是unrar,免费版是unar unar在centOS上安装需要源码编译,下面是安装方法: 1.安装依赖 yum install gnustep ...

  6. 在centos下安装rar解压.rar压缩包

    CentOS本身不自带rar环境,因此对于rar文件无法直接解压,需要先配置rar环境. 首先需要确定自己的系统是64位还是32位的,通过这个命令: [root@localhost]# uname - ...

  7. linux下安装rar解压包

    直接解压时出现的问题如下 原因:使用rar命令需要安装WinRAR 1.在本机下载好解压,然后将解压包拖到linux上 2.进行安装,在rar目录想直接make

  8. centos7上安装rar解压软件

    (http://www.rarlab.com)官网可以查看最新的版本 wget https://www.rarlab.com/rar/rarlinux-x64-5.5.0.tar.gz 2.tar.g ...

  9. [转]Ubuntu Linux 安装 .7z 解压和压缩文件

    原文网址:http://blog.csdn.net/zqlovlg/article/details/8033456 安装方法: sudo apt-get install p7zip-full 解压文件 ...

随机推荐

  1. 合理利用 vs2013的性能分析跟诊断

    选择对应的项目==> 我正常是选择采样 就包括里面的一些耗时.  挺好用的. 可以根据热路径 还有访问的占比.知道哪个环节占用的访问时间 还有性能耗能多. 可以点进去 跟踪跟修改

  2. 创建plist文件

    可以先在工程中直接新建一个plist文件,往里面写入自己需要的数据.但是这里的plist文件我们无法修改,是只读的,我们可以将这个plist文件复制一份到沙盒中,然后对沙盒中的文件进行操作.具体代码如 ...

  3. ACM - KMP题目小结 (更新中)

    KMP算法题型大致有两类,一类是next数组的应用,一类是匹配问题. next数组大多数是求字符串周期,或者是与前缀后缀有关,也可以应用在DP中.需要对next数组有一定理解才能做得出. next数组 ...

  4. 关于dllimport的使用

    最近做一个动态加载插件的项目,插件中的dll 主要是各厂商各型号的读卡器的通用类库,stdapi.dll,WltRS.dll,有的还有进一步封装的dll,主要是为了简化通用类库的操作. 这些类库都是用 ...

  5. IOS的变量前加extern和static字段

    IOS的变量前加extern和static字段 前一阵子,做项目的时候到网上找Demo,打开运行的时候发现其中变量前有关键字extern和static,所以我研究了一下子 对于extern来说可以理解 ...

  6. iOS App上架流程(2016详细版

    http://www.jianshu.com/p/b1b77d804254 iOS App上传项目遇到的问题 http://www.jianshu.com/p/9195cd991fc7

  7. Repeater分页

    void BindData()        {            PagedDataSource pds = new PagedDataSource();                     ...

  8. 中国省市 JS代码

    很实用的一段JS代码, 用户注册的时候,选择地址常用到.代码如下: <script language="javascript"> var g_selProvince; ...

  9. 监听Android CTS测试项解决方案(一)

    前言: 首先这里需要详细叙述一下标题中"监听Android CTS测试项解决方案"的需求.这里的需求是指我们需要精确的监听到当前CTS测试正在测试的测试项. 因为我们知道CTS认证 ...

  10. Palindrome Number ---- LeetCode 009

    Determine whether an integer is a palindrome. Do this without extra space. Some hints: Could negativ ...