婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁(yè) > 知識(shí)庫(kù) > Linux 下解壓 rar 文件的方法

Linux 下解壓 rar 文件的方法

熱門(mén)標(biāo)簽:撫順地圖標(biāo)注 如何分析地圖標(biāo)注 電銷(xiāo)機(jī)器人怎么接線路 達(dá)亞電銷(xiāo)機(jī)器人官網(wǎng) 電銷(xiāo)機(jī)器人價(jià)值 新余高德地圖標(biāo)注怎么修改 高德地圖標(biāo)注好做嗎 大連400電話如何申請(qǐng) 外呼系統(tǒng)坐席費(fèi)計(jì)入會(huì)計(jì)哪個(gè)科目

網(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)站的支持!

標(biāo)簽:黃石 海東 衡水 湖南 新鄉(xiāng) 遼源 南通 楊凌

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《Linux 下解壓 rar 文件的方法》,本文關(guān)鍵詞  Linux,下,解壓,rar,文件,的,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問(wèn)題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無(wú)關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《Linux 下解壓 rar 文件的方法》相關(guān)的同類(lèi)信息!
  • 本頁(yè)收集關(guān)于Linux 下解壓 rar 文件的方法的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    主站蜘蛛池模板: 抚州市| 都匀市| 宜君县| 疏勒县| 勐海县| 五华县| 聊城市| 彭山县| 中卫市| 皋兰县| 临邑县| 东乡族自治县| 济源市| 呼和浩特市| 门头沟区| 毕节市| 屏南县| 沁源县| 收藏| 万源市| 安仁县| 南和县| 左权县| 宿州市| 红桥区| 扎赉特旗| 朝阳市| 鸡泽县| 通化县| 合江县| 抚顺县| 大姚县| 肇源县| 绥德县| 锡林浩特市| 新乡市| 福安市| 阜平县| 镇赉县| 滦平县| 海丰县|