1. Installation
The following describes the installation process and commands:
Http://www.rarsoft.com/download.htm Latest Version
# Wget http://www.rarsoft.com/rar/rarlinux-3.9.3.tar.gz
# Tar-zxvf rarlinux-3.9.3.tar.gz
# Cd RAR
# Make
# Make install
Run rar-help to view help information. If the following information appears:
# RAR:/lib/tls/libc. so.6: Version 'glibc _ 2.4 'not found (required by RAR)
# RAR:/lib/tls/libc. so.6: Version 'glibc _ 2.7 'not found (required by RAR)
Run the following command:
# Cp-F rar_static/usr/local/bin/RAR
In this way, you can use the RAR command.
2. Detailed explanation of RAR commands in Linux
Usage: RAR <command>-<Option 1> .... -<Option n> <operation documentation> <file...> <@ File list…> <Decompression path>
# RAR you can see help information
General execution process:
# RAR t finelanme check the document
# Extract RAR x filename to the current directory