[root@localhost ~]# tar zxvf rarlinux-3.6.0.tar.gz
[root@localhost ~]# cd rar
[root@localhost ~]# make
[root@localhost Downloads]#
[root@localhost Downloads]# cd /home/issta/Downloads/
[root@localhost Downloads]# ls
bcompare-3.3.7.15876.i386.rpm
BCompare-Key.txt
rar
unrar-5.0-RHEL5x64.tar.gz
rarlinux-x64-5.0.0.tar.gz
[root@localhost Downloads]#
[root@localhost Downloads]# cd rar
[root@localhost rar]#
[root@localhost rar]# ls
acknow.txtlicense.txt order.htmrarfiles.lstrar.txttechnote.txt whatsnew.txt
default.sfxmakefilerarrar_staticreadme.txt unrar
[root@localhost rar]#
[root@localhost rar]# make
mkdir -p /usr/local/bin
mkdir -p /usr/local/lib
cp rar unrar /usr/local/bin
cp rarfiles.lst /etc
cp default.sfx /usr/local/lib
[root@localhost rar]#
[root@localhost rar]# rar --help
RAR 5.00 Copyright (c)1993-2013 Alexander Roshal 22Aug 2013
TrialversionType RAR -? for help
Usage:rar - -
<@listfiles...>
aAdd files to archive
cAdd archive comment
chChange archive parameters
cwWrite archive comment to file
dDelete files from archive
eExtract files without archived paths
fFreshen files in archive
i[par]= Find string inarchives
kLock archive
l[t[a],b]List archive contents [technical[all], bare]
m[f]Move to archive [files only]
![rarlinux-x64安装_Andy linux安装rar命令](http://img.aihuau.com/images/01111101/01092431t01fce9bb158bbf7114.gif)
pPrint file to stdout
rRepair archive
rcReconstruct missing volumes
rnRename archived files
rr[N]Add data recovery record
rv[N]Create recovery volumes
s[name|-]Convert archive to or from SFX
tTest archive files
uUpdate files in archive
v[t[a],b]Verbosely list archive contents [technical[all],bare]
xExtract files with full path
-Stop switches scanning
@[+]Disable [enable] file lists
adAppend archive name to destination path
ag[format]Generate archive name using the current date
aiIgnore file attributes
apSet path inside archive
asSynchronize archive contents
c-Disable comments show
cfg-Disable read configuration
clConvert names to lower case
cuConvert names to upper case
dfDelete files after archiving
dhOpen shared files
dsDisable name sort for solid archive
dwWipe files after archiving
e[+] Set fileexclude and include attributes
edDo not add empty directories
enDo not put 'end of archive' block
epExclude paths from names
ep1Exclude base directory from names
ep3Expand paths to full including the drive letter
fFreshen files
hp[password] Encrypt both filedata and headers
ht[b|c]Select hash type [BLAKE2,CRC32] for file checksum
id[c,d,p,q]Disable messages
ierrSend all messages to stderr
ilog[name]Log errors to file (registered versions only)
inulDisable all messages
isndEnable sound
kLock archive
kbKeep broken extracted files
log[f][=name] Write names to log file
m<0..5>Set compression level (0-store...3-default...5-maximal)
ma[4|5]Specify a version of archiving format
mcSet advanced compression parameters
md[k,m,g] Dictionary size inKB, MB or GB
ms[ext;ext]Specify file types to store
mt Set thenumber of threads
nAdditionally filter included files
n@Read additional filter masks from stdin
n@Read additional filter masks from list file
o[+|-]Set the overwrite mode
ohSave hard links as the link instead of the file
oi[0-4][:min] Save identical files asreferences
olSave symbolic links as the link instead of the file
orRename files automatically
owSave or restore file owner and group
p[password]Set password
p-Do not query password
qo[-|+]Add quick open information [none|force]
rRecurse subdirectories
r-Disable recursion
r0Recurse subdirectories for wildcard names only
rr[N]Add data recovery record
rv[N]Create recovery volumes
s[,v[-],e] Create solid archive
s-Disable solid archiving
sc[obj] Specify the characterset
sfx[name]Create SFX archive
si[name]Read data from standard input (stdin)
slProcess files with size less than specified
smProcess files with size more than specified
tTest files after archiving
taProcess files modified after in YYYYMMDDHHMMSS format
tbProcess files modified before in YYYYMMDDHHMMSS format
tkKeep original archive time
tlSet archive time to latest file
tnProcess files newer than
toProcess files older than
ts[N] Save or restore filetime (modification, creation, access)
uUpdate files
v[k,b] Create volumes withsize=*1000 [*1024, *1]
ver[n]File version control
vnUse the old style volume naming scheme
vpPause before each volume
wAssign work directory
xExclude specified file
x@Read file names to exclude from stdin
x@Exclude files listed in specified list file
yAssume Yes on all queries
z[file]Read archive comment from file
[root@localhost rar]#
[root@localhost rar]#
[root@localhost rar]# unrar
UNRAR 5.00freewareCopyright (c) 1993-2013 Alexander Roshal
Usage:unrar - -
<@listfiles...>
eExtract files without archived paths
l[t[a],b]List archive contents [technical[all], bare]
pPrint file to stdout
tTest archive files
v[t[a],b]Verbosely list archive contents [technical[all],bare]
xExtract files with full path
-Stop switches scanning
@[+]Disable [enable] file lists
adAppend archive name to destination path
ag[format]Generate archive name using the current date
aiIgnore file attributes
apSet path inside archive
c-Disable comments show
cfg-Disable read configuration
clConvert names to lower case
cuConvert names to upper case
dhOpen shared files
epExclude paths from names
ep3Expand paths to full including the drive letter
fFreshen files
id[c,d,p,q]Disable messages
ierrSend all messages to stderr
inulDisable all messages
kbKeep broken extracted files
nAdditionally filter included files
n@Read additional filter masks from stdin
n@Read additional filter masks from list file
o[+|-]Set the overwrite mode
orRename files automatically
owSave or restore file owner and group
p[password]Set password
p-Do not query password
rRecurse subdirectories
slProcess files with size less than specified
smProcess files with size more than specified
taProcess files modified after in YYYYMMDDHHMMSS format
tbProcess files modified before in YYYYMMDDHHMMSS format
tnProcess files newer than
toProcess files older than
ts[N] Save or restore filetime (modification, creation, access)
uUpdate files
vList all volumes
ver[n]File version control
vpPause before each volume
xExclude specified file
x@Read file names to exclude from stdin
x@Exclude files listed in specified list file
yAssume Yes on all queries
[root@localhost rar]#
[root@localhost rar]#
[root@localhost rar]# rar
RAR 5.00 Copyright (c)1993-2013 Alexander Roshal 22Aug 2013
TrialversionType RAR -? for help
Usage:rar - -
<@listfiles...>
aAdd files to archive
cAdd archive comment
chChange archive parameters
cwWrite archive comment to file
dDelete files from archive
eExtract files without archived paths
fFreshen files in archive
i[par]= Find string inarchives
kLock archive
l[t[a],b]List archive contents [technical[all], bare]
m[f]Move to archive [files only]
pPrint file to stdout
rRepair archive
rcReconstruct missing volumes
rnRename archived files
rr[N]Add data recovery record
rv[N]Create recovery volumes
s[name|-]Convert archive to or from SFX
tTest archive files
uUpdate files in archive
v[t[a],b]Verbosely list archive contents [technical[all],bare]
xExtract files with full path
-Stop switches scanning
@[+]Disable [enable] file lists
adAppend archive name to destination path
ag[format]Generate archive name using the current date
aiIgnore file attributes
apSet path inside archive
asSynchronize archive contents
c-Disable comments show
cfg-Disable read configuration
clConvert names to lower case
cuConvert names to upper case
dfDelete files after archiving
dhOpen shared files
dsDisable name sort for solid archive
dwWipe files after archiving
e[+] Set fileexclude and include attributes
edDo not add empty directories
enDo not put 'end of archive' block
epExclude paths from names
ep1Exclude base directory from names
ep3Expand paths to full including the drive letter
fFreshen files
hp[password] Encrypt both filedata and headers
ht[b|c]Select hash type [BLAKE2,CRC32] for file checksum
id[c,d,p,q]Disable messages
ierrSend all messages to stderr
ilog[name]Log errors to file (registered versions only)
inulDisable all messages
isndEnable sound
kLock archive
kbKeep broken extracted files
log[f][=name] Write names to log file
m<0..5>Set compression level (0-store...3-default...5-maximal)
ma[4|5]Specify a version of archiving format
mcSet advanced compression parameters
md[k,m,g] Dictionary size inKB, MB or GB
ms[ext;ext]Specify file types to store
mt Set thenumber of threads
nAdditionally filter included files
n@Read additional filter masks from stdin
n@Read additional filter masks from list file
o[+|-]Set the overwrite mode
ohSave hard links as the link instead of the file
oi[0-4][:min] Save identical files asreferences
olSave symbolic links as the link instead of the file
orRename files automatically
owSave or restore file owner and group
p[password]Set password
p-Do not query password
qo[-|+]Add quick open information [none|force]
rRecurse subdirectories
r-Disable recursion
r0Recurse subdirectories for wildcard names only
rr[N]Add data recovery record
rv[N]Create recovery volumes
s[,v[-],e] Create solid archive
s-Disable solid archiving
sc[obj] Specify the characterset
sfx[name]Create SFX archive
si[name]Read data from standard input (stdin)
slProcess files with size less than specified
smProcess files with size more than specified
tTest files after archiving
taProcess files modified after in YYYYMMDDHHMMSS format
tbProcess files modified before in YYYYMMDDHHMMSS format
tkKeep original archive time
tlSet archive time to latest file
tnProcess files newer than
toProcess files older than
ts[N] Save or restore filetime (modification, creation, access)
uUpdate files
v[k,b] Create volumes withsize=*1000 [*1024, *1]
ver[n]File version control
vnUse the old style volume naming scheme
vpPause before each volume
wAssign work directory
xExclude specified file
x@Read file names to exclude from stdin
x@Exclude files listed in specified list file
yAssume Yes on all queries
z[file]Read archive comment from file
[root@localhost rar]#
[root@localhost rar]#