Centos supports extracting rar files

Source: Internet
Author: User
Added support for rarfiles from the centos system. [Root @ localhost ~] # Wgethttp: // www.rarsoft.com/rar/rarlinux-4.0.1.tar.gz?root@localhost=] #Tar-zxvfrarlinux-4.0.1.tar.gz rar/readme.txt rar/default. sfx

Added support for rarfiles from the centos system.
[Root @ localhost ~] # Wget http://www.rarsoft.com/rar/rarlinux-4.0.1.tar.gz
[Root @ localhost ~] # Tar-zxvf rarlinux-4.0.1.tar.gz
Rar/
Rar/readme.txt
Rar/default. sfx
Rar/whatsnew.txt
Rar/license.txt
Rar/order.htm
Rar/rar
Rar/unrar
Rar/rar_static
Rar/tete.txt
Rar/rarfiles. lst
Rar/makefile
Rar/rar.txt
[Root @ localhost ~] # Cd 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] # rar x moumou.rar
-Bash:/usr/local/bin/rar:/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

Handle this problem
[Root @ localhost rar] # cp rar_static/usr/local/bin/rar
Cp: overwrite '/usr/local/bin/rar '? Y

You can decompress the package normally.
Root @ localhost rar] # rar x moumou.rar

RAR 4.01 Copyright (c) 1993-2011 Alexander Roshal 28 May 2011
Shareware version Type RAR -? For help
Extracting from moumou.rar

Creating moumou OK
Creating moumou/css OK
Extracting moumou/css/default.css OK

Related Article

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.