Linux RAR Installation and use

Source: Internet
Author: User
Tags rar

Description: Linux default comes with zip compression, the maximum support 4GB compression, RAR compression ratio is greater than 4GB.
Process: Download "Install" use
--------------------------------------------------Download

1234567891011 # wget http://www.rarsoft.com/rar_CN/rarlinux-3.9.3.tar.gz --16:01:50--  http://www.rarsoft.com/rar_CN/rarlinux-3.9.3.tar.gz Resolving www.rarsoft.com... 217.70.129.242 Connecting to www.rarsoft.com|217.70.129.242|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 833828 (814K) [application/x-gzip] Saving to: `rarlinux-3.9.3.tar.gz‘ 100%[=======================================>] 833,828     34.5K/sin 29s    16:02:22 (28.2 KB/s) - `rarlinux-3.9.3.tar.gz‘ saved [833828/833828]

--------------------------------------------------Decompression tar.gz

12345678910111213141516 # ls rarlinux-3.9.3.tar.gz # tar -xzvf rarlinux-3.9.3.tar.gz rar/ rar/readme.txt rar/default.sfx rar/whatsnew.txt rar/license.txt rar/order.htm rar/rarrar/unrarrar/rar_staticrar/technote.txt rar/rarfiles.lst rar/makefilerar/rar.txt

--------------------------------------------------Compiling files

12345678910 # ls rar rarlinux-3.9.3. tar .gz # cd 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


--------------------------------------------------Install the compiled files

123456 # make install mkdir-p /usr/local/binmkdir -p /usr/local/libcp rar unrar /usr/local/bincp rarfiles.lst /etccpdefault.sfx /usr/local/lib


--------------------------------------------------Execute RAR help command

12 # rar --help rar: /lib/libc.so.6: version `GLIBC_2.7‘ not found (required by rar)



--------------------------------------------------Add global commands

12 # cp -f rar_static /usr/local/bin/rar cp: overwrite `/usr/local/bin/rar‘? y



The RAR command can be accessed--------------------------------------------------

123456789 # rar --help RAR 3.93   Copyright (c) 1993-2010 Alexander Roshal   15 Mar 2010 Shareware version         Type RAR -? for help Usage:     rar <command> -<switch 1> -<switch N> <archive> <files...>                <@listfiles...> <path_to_extract\> <Commands>   x             Extract files with full path


--------------------------------------------------unzip all files including path

1 # rar x filename.rar



From for notes (Wiz)



Linux RAR Installation and use

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.