Status
Not open for further replies.

Hillside

Active Member
1,535
2010
13
0
for centos 32bit

YUM:
Code:
yum install rar unrar -y
MANUAL:
Code:
cd /tmp
wget http://www.rarlabs.com/rar/rarlinux-3.8.0.tar.gz
tar -zxvf rarlinux-3.8.0.tar.gz
cd rar
./rar
./unrar
cp rar unrar /usr/bin/
cd
Hep Hep Hooray!! You can now rar/unrar!
 
10 comments
you try installed that but that will not working if u use linux 32 bit must 64 bit u can check in rapidleech forum about that issue
 
PHP:
#!/bin/bash
cd /tmp
# 64 or 32 ?
if $(uname -a | grep 'x86_64'); then
  echo "Installing 64 Bit RAR"
  wget http://www.rarlab.com/rar/rarlinux-x64-4.0.b3.tar.gz
  tar -zxvf rarlinux-x64-4.0.b3.tar.gz
  cd rar
  ./unrar
else
  echo "Installing 32 Bit RAR"
  wget http://www.rarlab.com/rar/rarlinux-4.0.b3.tar.gz
  tar -zxvf rarlinux-4.0.b3.tar.gz
  cd rar
  ./unrar
fi
cp rar unrar /bin
echo "installed"
save the content of a file , example rar.sh
chmod +x rar.sh
./rar.sh

;)
 
Status
Not open for further replies.
Back
Top