日本综合一区二区|亚洲中文天堂综合|日韩欧美自拍一区|男女精品天堂一区|欧美自拍第6页亚洲成人精品一区|亚洲黄色天堂一区二区成人|超碰91偷拍第一页|日韩av夜夜嗨中文字幕|久久蜜综合视频官网|精美人妻一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時(shí)間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
Linux中解壓rar文件具體方法

RAR是一種專利文件格式,用于數(shù)據(jù)壓縮與歸檔打包,其主要優(yōu)點(diǎn)是可以把文件壓縮目標(biāo)分割到多個(gè)文件,并且很容易從這樣的分割的壓縮文件解壓出源文件。

成都創(chuàng)新互聯(lián)是一家專注于網(wǎng)站設(shè)計(jì)制作、網(wǎng)站制作與策劃設(shè)計(jì),略陽網(wǎng)站建設(shè)哪家好?成都創(chuàng)新互聯(lián)做網(wǎng)站,專注于網(wǎng)站建設(shè)十載,網(wǎng)設(shè)計(jì)領(lǐng)域的專業(yè)建站公司;建站業(yè)務(wù)涵蓋:略陽等地區(qū)。略陽做網(wǎng)站價(jià)格咨詢:13518219792

image-20211017110557818

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)境變量中。

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

  ~ unrar x [file]

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

  rar ./unrar

UNRAR 5.60 freeware      Copyright (c) 1993-2018 Alexander Roshal

Usage:     unrar  - -  
              


 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


 -             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      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       Additionally filter included files
 n@            Read additional filter masks from stdin
 n@      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[obj]  Specify the character set
 sl      Process files with size less than specified
 sm      Process files with size more than specified
 ta      Process files modified after  in YYYYMMDDHHMMSS format
 tb      Process files modified before  in YYYYMMDDHHMMSS format
 tn      Process files newer than
 to      Process files older than
 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       Exclude specified file
 x@            Read file names to exclude from stdin
 x@      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 解壓

網(wǎng)站欄目:Linux中解壓rar文件具體方法
本文URL:http://www.dlmjj.cn/article/cddiidc.html