Results 1 to 18 of 18
  1. #1
    Join Date
    Apr 2002
    Location
    Wirral/Cheshire/Meresyside
    Posts
    205

    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
    Last edited by roby2k; 08-28-2006 at 02:34 PM.
    http://www.gocre8.co.uk - Liverpool Web Design
    http://www.outallnite.co.uk - Liverpool Clubbing

  2. #2
    Join Date
    May 2004
    Posts
    354
    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. #3
    Join Date
    Apr 2002
    Location
    Wirral/Cheshire/Meresyside
    Posts
    205
    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

  4. #4
    Join Date
    Dec 2001
    Location
    NYC, NY
    Posts
    799
    sounds like you are not running the rpm command as root
    Blog your life away
    http://photoblog.com

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

  6. #6
    Join Date
    Jun 2006
    Location
    NYC / Memphis, TN
    Posts
    1,454
    Try using yum to remove it and re-install it.

    Should find and/or configure all of the dependencies.
    PeakVPN.Com | Complete Privacy VPN | Cloud Hosting | Guaranteed Security | 1Gbps-10Gbps Unmetered
    PeakVPN | 31 VPN Servers | 17-Years Experience | Emergency 24/7 Support
    Visit us @ PeakVPN.Com (Coming SOON) | ASN: 3915

  7. #7
    Join Date
    Oct 2004
    Location
    Kerala, India
    Posts
    4,771
    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. #8
    Join Date
    Dec 2002
    Location
    chica go go
    Posts
    11,876
    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. #9
    [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....
    See threads I started for honest host reviews over 20 years, viHost.io being the least professional of all.

  10. #10
    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. #11
    Join Date
    Dec 2005
    Posts
    3,110
    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. #12
    Join Date
    Oct 2002
    Location
    Georgia, USA
    Posts
    113
    For Centos 5.1 you can simply add the 'rpmforge' repository and just do: yum install rar unrar
    --
    Speckz

  13. #13
    Join Date
    Sep 2002
    Location
    Top Secret
    Posts
    14,135
    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.
    Tom Whiting, WHMCS Guru extraordinaire
    Linux problems? WHMCS Problems? Give me a shout
    Check out my WHMCS Addons

  14. #14
    Join Date
    Jun 2008
    Location
    India
    Posts
    266
    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. #15
    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.

  16. #16
    Join Date
    Sep 2002
    Location
    Top Secret
    Posts
    14,135
    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'
    Quote Originally Posted by hichkas View Post
    Hi
    also we have this problem.
    Install the rpmforge packages, following these instructions.

    yum -y install rpmforge (for CentOS/Fedora)
    up2date rpmforge (for RHEL)

    This will grab the packaged versions that will work with your system and install it.
    Tom Whiting, WHMCS Guru extraordinaire
    Linux problems? WHMCS Problems? Give me a shout
    Check out my WHMCS Addons

  17. #17
    thanks for this lesson

  18. #18
    Join Date
    Jul 2009
    Location
    Tangerang, ID
    Posts
    168
    i'm installing rar n unrar like this and working good.

    - # cd /tmp
    - # wget http://lofi.an.googlepages.com/rar.tar.gz
    - # tar -zxvf rarlinux-3.6.0.tar.gz
    - # ./unrar
    - # cd /tmp/rar
    - # cp rar unrar /bin
    - # su
    - # unrar

    reference from: http://www.ocean-leecher.net/forum/thread-866.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •