Installation and Use of RAR in linux

Source: Internet
Author: User
Today, rar is not installed on a server, and the following message is displayed: rar: errorwhileloadingsharedlibraries: libstdc & amp; 43; & amp; 43; so6: cannotopen#dobjectfile: nosuchfileordirectory or hao32 to deal with today found that a server is not installed with rar, prompt: rar: error while loading shared libraries: libstdc ++. so.6: cannot open shared object file: No such file or directory is still handled by hao32. after asking about the method, it turns out that gcc-c ++ is not installed. The following describes the process.
First Download rarlinux-3.8.0.tar.gz

Wget http://www.rarlab.com/rar/rarlinux-3.8.0.tar.gz

2 then unzip # tar xvfz rarlinux-3.8.0.tar.gz 3 install # make install
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
4. decompress the file:

# Rar x test.rar/
Rar:/lib/tls/libc. so.6: version 'glibc _ 100' not found (required by rar)

5. GLIBC_2.4 is required. If GLIBC_2.4 is not available

# Cp./rar/rar_static/usr/local/bin/rar

Rar_static is a static linking version. there is no inconsistency between glibc Library versions.

Decompress the package again:
[Root @ xxxx ~] # Rar x test.rar/

RAR 3.71 Copyright (c) 1993-2007 Alexander Roshal 20 Sep 2007
Shareware version Type RAR -? For help Extracting from test.rar Extracting/test.txt OK
All OK 6 package rar a install.rar./install. log
Yes
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.