最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

Linux 下解壓 rar 文件的方法

 更新時(shí)間:2018年07月02日 10:27:59   作者:xuyaowen  
這篇文章主要介紹了Linux 下解壓 rar 文件的方法,需要的朋友可以參考下

網(wǎng)上下載rar 壓縮文件的使用,在linux在我們需要對(duì)其進(jìn)行解壓縮,這個(gè)時(shí)候,我們需要安裝 rar相關(guān)的文件,來(lái)進(jìn)行解壓縮。

1. 下載

我們進(jìn)入rarlab網(wǎng)站,進(jìn)行下載 rar for linux x64

2. 使用 tar 命令 解壓 (*.tar 用 tar –xvf )

Downloads tar -xvf rarlinux-x64-5.6.0.tar.gz 

3. 進(jìn)入文件夾make (需要 管理員權(quán)限)

rar cat makefile 
###################################################################
# Installing RAR executables, configuration files and SFX modules #
# to appropriate directories                   #
###################################################################
PREFIX=/usr/local
install:
  mkdir -p $(PREFIX)/bin
  mkdir -p $(PREFIX)/lib
  cp rar unrar $(PREFIX)/bin
  cp rarfiles.lst /etc
  cp default.sfx $(PREFIX)/lib%   
 

如果不進(jìn)行make 需要在命令所在的文件夾執(zhí)行命令,或者把文件夾加入環(huán)境變量中。

3. 最后,可以使用 unrar 進(jìn)行解壓, 使用 rar 命令,進(jìn)行壓縮。

 ~ unrar x [file]

我們 可以直接輸入 unrar 查看幫助

 rar ./unrar 
UNRAR 5.60 freeware   Copyright (c) 1993-2018 Alexander Roshal
Usage:   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 stdout
 t       Test archive files
 v[t[a],b]   Verbosely list archive contents [technical[all],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
 ap<path>   Set path inside archive
 c-      Disable comments show
 cfg-     Disable read configuration
 cl      Convert names to lower case
 cu      Convert names to upper case
 dh      Open shared files
 ep      Exclude paths from names
 ep3      Expand paths to full including the drive letter
 f       Freshen files
 id[c,d,p,q]  Disable messages
 ierr     Send all messages to stderr
 inul     Disable all messages
 kb      Keep broken extracted files
 n<file>    Additionally filter included files
 n@      Read additional filter masks from stdin
 n@<list>   Read additional filter masks from list file
 o[+|-]    Set the overwrite mode
 ol[a]     Process symbolic links as the link [absolute paths]
 or      Rename files automatically
 ow      Save or restore file owner and group
 p[password]  Set password
 p-      Do not query password
 r       Recurse subdirectories
 sc<chr>[obj] Specify the character set
 sl<size>   Process files with size less than specified
 sm<size>   Process files with size more than specified
 ta<date>   Process files modified after <date> in YYYYMMDDHHMMSS format
 tb<date>   Process files modified before <date> in YYYYMMDDHHMMSS format
 tn<time>   Process files newer than <time>
 to<time>   Process files older than <time>
 ts[m|c|a]   Save or restore file time (modification, creation, access)
 u       Update files
 v       List all volumes
 ver[n]    File version control
 vp      Pause before each volume
 x<file>    Exclude specified file
 x@      Read file names to exclude from stdin
 x@<list>   Exclude files listed in specified list file
 y       Assume Yes on all queries

其他解壓縮命令:

1、*.tar 用 tar –xvf 解壓
2、*.gz 用 gzip -d或者gunzip 解壓
3、*.tar.gz和*.tgz 用 tar –xzf 解壓
4、*.bz2 用 bzip2 -d或者用bunzip2 解壓
5、*.tar.bz2用tar –xjf 解壓
6、*.Z 用 uncompress 解壓
7、*.tar.Z 用tar –xZf 解壓
8、*.rar 用 unrar e解壓
9、*.zip 用 unzip 解壓

總結(jié)

以上所述是小編給大家介紹的Linux 下解壓 rar 文件的方法,希望對(duì)大家有所幫助,如果大家有任何疑問(wèn)請(qǐng)給我留言,小編會(huì)及時(shí)回復(fù)大家的。在此也非常感謝大家對(duì)腳本之家網(wǎng)站的支持!

相關(guān)文章

  • 在 Linux 終端中查找域名 IP 地址的命令(五種方法)

    在 Linux 終端中查找域名 IP 地址的命令(五種方法)

    本教程介紹了如何在 Linux 終端驗(yàn)證域名或計(jì)算機(jī)名的 IP 地址。我們將教你如何有效使用這些命令在 Linux 終端中識(shí)別多個(gè)域的 IP 地址信息
    2019-12-12
  • linux下使用 du查看某個(gè)文件或目錄占用磁盤(pán)空間的大小方法

    linux下使用 du查看某個(gè)文件或目錄占用磁盤(pán)空間的大小方法

    下面小編就為大家?guī)?lái)一篇linux下使用 du查看某個(gè)文件或目錄占用磁盤(pán)空間的大小方法。小編覺(jué)得挺不錯(cuò)的,現(xiàn)在就分享給大家,也給大家做個(gè)參考。一起跟隨小編過(guò)來(lái)看看吧
    2016-11-11
  • Ubuntu18.04安裝vsftpd的實(shí)現(xiàn)代碼

    Ubuntu18.04安裝vsftpd的實(shí)現(xiàn)代碼

    這篇文章主要介紹了Ubuntu18.04安裝vsftpd的實(shí)現(xiàn)代碼,文中通過(guò)示例代碼介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)學(xué)習(xí)吧
    2019-12-12
  • Linux下遠(yuǎn)程連接MySQL數(shù)據(jù)庫(kù)的方法

    Linux下遠(yuǎn)程連接MySQL數(shù)據(jù)庫(kù)的方法

    本篇文章主要介紹了Linux下遠(yuǎn)程連接MySQL數(shù)據(jù)庫(kù)的方法,小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,也給大家做個(gè)參考。一起跟隨小編過(guò)來(lái)看看吧
    2017-06-06
  • Ubuntu14.04虛擬機(jī)安裝(圖文詳解)

    Ubuntu14.04虛擬機(jī)安裝(圖文詳解)

    本篇文章主要介紹了Ubuntu14.04虛擬機(jī)安裝,每一步都有詳細(xì)的圖文解釋?zhuān)哂幸欢ǖ膮⒖純r(jià)值,感興趣的小伙伴們可以參考一下。
    2017-01-01
  • Apache服務(wù)器中.htaccess的基本配置總結(jié)

    Apache服務(wù)器中.htaccess的基本配置總結(jié)

    這篇文章主要介紹了Apache服務(wù)器中.htaccess的基本配置總結(jié),可以很方便地實(shí)現(xiàn)一些權(quán)限分配等效果,需要的朋友可以參考下
    2015-07-07
  • ubuntu 16.04下不能啟動(dòng)Steam的解決方法

    ubuntu 16.04下不能啟動(dòng)Steam的解決方法

    這篇文章主要給大家介紹了關(guān)于在ubuntu 16.04下不能啟動(dòng)Steam的解決方法,文中介紹的非常詳細(xì),對(duì)大家具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友們下面來(lái)一起看看吧。
    2017-06-06
  • 關(guān)閉selinux(防火墻)方法分享

    關(guān)閉selinux(防火墻)方法分享

    默認(rèn)裝完CentOS,Selinux是打開(kāi)的,這個(gè)你基本都是需要關(guān)閉,查看當(dāng)前selinux的狀態(tài)后,就可以按以下方法關(guān)閉selnux了
    2014-03-03
  • Linux bzip2 命令的使用

    Linux bzip2 命令的使用

    這篇文章主要介紹了Linux bzip2 命令的使用,幫助大家更好的理解和使用Linux系統(tǒng),感興趣的朋友可以了解下
    2020-08-08
  • Apache 安裝配置mod_pagespeed加速模塊

    Apache 安裝配置mod_pagespeed加速模塊

    mod_pagespeed是谷歌發(fā)布的加速httpd的優(yōu)化模塊,通過(guò)自動(dòng)優(yōu)化代碼、壓縮傳輸內(nèi)容、自動(dòng)緩存加速http,支持Centos/Debian系統(tǒng)
    2014-09-09

最新評(píng)論

通辽市| 孙吴县| 大渡口区| 卢氏县| 鸡泽县| 金溪县| 革吉县| 南平市| 德清县| 彰武县| 吕梁市| 延庆县| 忻州市| 同德县| 沙河市| 彰化县| 高雄县| 简阳市| 眉山市| 嵊州市| 奉化市| 大连市| 泽库县| 峡江县| 沛县| 特克斯县| 兴海县| 文登市| 鄂伦春自治旗| 攀枝花市| 定西市| 德保县| 尚义县| 临清市| 山阴县| 濮阳市| 稷山县| 崇义县| 施秉县| 荃湾区| 瑞昌市|