hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting Talk Tutorials : Hosting Security and Technology Tutorials : HOW TO: Install Unrar on CentOs
Reply

Forum Jump

HOW TO: Install Unrar on CentOs

Reply Post New Thread In Hosting Security and Technology Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old
Junior Guru
 
Join Date: Apr 2002
Location: Wirral/Cheshire/Meresyside
Posts: 203

HOW TO: Install Unrar on CentOs


afther searching the fourms i didnt find much so i thought id just post this for future reference

Code:
wget http://dag.wieers.com/packages/unrar/unrar-3.6.2-1.el4.rf.i386.rpm
rpm -Uvh http://dag.wieers.com/packages/unrar/unrar-3.6.2-1.el4.rf.i386.rpm
and to extract a file user you type
Code:
unrar e -kb rarfile.rar
thanks to the dag repositry

__________________
http://www.gocre8.co.uk - Liverpool Web Design
http://www.outallnite.co.uk - Liverpool Clubbing


Last edited by roby2k; 08-28-2006 at 02:34 PM.


Sponsored Links
  #2  
Old
Aspiring Evangelist
 
Join Date: May 2004
Posts: 350
i get this error:

warning: unrar-3.6.2-1.el4.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
error: can't create transaction lock

:<

  #3  
Old
Junior Guru
 
Join Date: Apr 2002
Location: Wirral/Cheshire/Meresyside
Posts: 203
what processor are you using?
64bit or 32bit?

here are the options for it
http://dag.wieers.com/packages/unrar/

__________________
http://www.gocre8.co.uk - Liverpool Web Design
http://www.outallnite.co.uk - Liverpool Clubbing

Sponsored Links
  #4  
Old
Web Hosting Master
 
Join Date: Dec 2001
Location: NYC, NY
Posts: 798
sounds like you are not running the rpm command as root

__________________
Blog your life away
http://photoblog.com

  #5  
Old
Junior Guru Wannabe
 
Join Date: Jun 2006
Posts: 33
Quote:
root@linux [~]# unrar
unrar: /lib/tls/libc.so.6: version `GLIBC_2.4' not found (required by unrar)
How can I fix that ?

  #6  
Old
Web Hosting Master
 
Join Date: Jun 2006
Location: NYC
Posts: 1,408
Try using yum to remove it and re-install it.

Should find and/or configure all of the dependencies.

  #7  
Old
Web Hosting Master
 
Join Date: Oct 2004
Location: Kerala, India
Posts: 4,740
SLiM_BoY,

How did you install unrar? Didn't it throw dependency error while installing? Try installing another version of unrar.

__________________
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
CliffWebManager | Access WHM from iPhone and Android

  #8  
Old
Disabled
 
Join Date: Dec 2002
Location: chica go go
Posts: 11,858
I think the RPM-based installer only grabs the binaries, and copies them to the required locations, no actual compiling.

Slimboy, are you on a VPS, or a dedicated server? You need to upgrade glibc.

  #9  
Old
WHT Addict
 
Join Date: Dec 2005
Posts: 142
[root@vps2 ~]# rpm -Uvh http://dag.wieers.com/packages/unrar...l4.rf.i386.rpm
Retrieving http://dag.wieers.com/packages/unrar...l4.rf.i386.rpm
error: skipping http://dag.wieers.com/packages/unrar...l4.rf.i386.rpm - transfer failed - Unknown or unexpected error
[root@vps2 ~]#


so disappointing....

__________________
my experience: ServInt and Bluewho are good but expensive. futurehosting is disappointing, hivelocity is a scam. liquidweb is really good support but slow server. Innohosting is incompetent support. Stablehost is stable. 1euro is incompetent.


  #10  
Old
Junior Guru Wannabe
 
Join Date: Jan 2006
Location: Switzerland [CH]
Posts: 33
Quote:
Originally Posted by Reseller32 View Post
[root@vps2 ~]# rpm -Uvh http://dag.wieers.com/packages/unrar...l4.rf.i386.rpm
Retrieving http://dag.wieers.com/packages/unrar...l4.rf.i386.rpm
error: skipping http://dag.wieers.com/packages/unrar...l4.rf.i386.rpm - transfer failed - Unknown or unexpected error
[root@vps2 ~]#


so disappointing....
You can do this

$ wget http://dag.wieers.com/rpm/packages/u...l4.rf.i386.rpm

$ rpm -Uvh unrar-3.6.8-1.el4.rf.i386.rpm

Cheers

  #11  
Old
The VPS Guru
 
Join Date: Dec 2005
Location: Berkshire, UK
Posts: 3,019
Alternativley if you are having problems with RPM's, you can just get the CLI version of WinRar directly from www.rarlab.com. Make sure you have Glibc 2.4 though.

# wget http://rarlab.com/rar/rarlinux-3.7.1.tar.gz
# tar xvzf rarlinux*
# cd rar
# make
# make install

Hope this helps.

  #12  
Old
WHT Addict
 
Join Date: Oct 2002
Location: Georgia, USA
Posts: 109
For Centos 5.1 you can simply add the 'rpmforge' repository and just do: yum install rar unrar

__________________
--
Speckz

  #13  
Old
Just me
 
Join Date: Sep 2002
Location: Among the corn
Posts: 10,507
Quote:
Originally Posted by Chris E View Post
Alternativley if you are having problems with RPM's, you can just get the CLI version of WinRar directly from www.rarlab.com. Make sure you have Glibc 2.4 though.

# wget http://rarlab.com/rar/rarlinux-3.7.1.tar.gz
# tar xvzf rarlinux*
# cd rar
# make
# make install

Hope this helps.
That really doesn't do anything to resolve issues. It's always best to use a "package" based system for non source related stuff so that you can grab the dependencies.

Quote:
Originally Posted by Speckz View Post
For Centos 5.1 you can simply add the 'rpmforge' repository and just do: yum install rar unrar
You should be able to with 4.x now too, at least I was able to. the 'rar' package still complains about the glibc crap, but it'll get there eventually I guess.

This is what happens when you use pre-compiled stuff, you get to deal with dependencies on their own stuff. Unfortunately, the only (known) source for rar exists in a win32 platform AFAIK.

This is why tar/zip are so much better, the issues just don't exist, or aren't as prevalent.

  #14  
Old
Web Hosting Guru
 
Join Date: Jun 2008
Location: India
Posts: 258
unrar: /lib/libc.so.6: version `GLIBC_2.7' not found (required by unrar)

tried yum install and now getting this, how can i get `GLIBC_2.7'

__________________
Ranjith
Light travels faster thn sound.This is why some people look bright until you actually hear them speak

  #15  
Old
Aspiring Evangelist
 
Join Date: Jul 2007
Posts: 385
Quote:
Originally Posted by rankris View Post
unrar: /lib/libc.so.6: version `GLIBC_2.7' not found (required by unrar)

tried yum install and now getting this, how can i get `GLIBC_2.7'
Hi
also we have this problem.

Reply

Related posts from TheWhir.com
Title Type Date Posted
Red Hat Takes Active Role in CentOS Project to Drive New Technology Adoption Web Hosting News 2014-01-08 12:00:22
Web Hosting Sales and Promos Roundup - November 8, 2013 Web Hosting News 2014-05-23 15:42:41
Solar VPS Becomes Official Mirror for Centos and Ubuntu Web Hosting News 2013-04-16 11:03:34
Inerol Solutions Launches XEN VPS Hosting Service Web Hosting News 2014-05-23 15:46:53
Web Hosting Sales and Promos Roundup – March 22, 2013 Web Hosting News 2014-05-23 15:43:14


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?