how to install and use unrar in your hosting, because default hosting doesn’t support rar n unrar
Login to your root via console
and then do this command in sequence
- # cd /tmp
- # wget http://www.rarlab.com/rar/rarlinux-3.6.0.tar.gz
- # tar -zxvf rarlinux-3.6.0.tar.gz
- # ./unrar
- # cd /tmp/rar
- # cp rar unrar /bin
- # su
- # unrar
Finished
and now let’s go to the action, but before make rar on unrar files, you have to go to directory where the rar / files takes place with command:
- cd /home/yourfiledir
note
why we have to do that? because if you don’t go to the directory where the rar / files takes place, then it will be extracted or rar in your current position directory, and for doing that you also have to add directory location and name in your command.
now try to unrar a file:
- with password unrar file (rar password: 123456)
# unrar e -p123456 filename.rar
- non password unrar file
# unrar e filename.rar
also try to rar one or more than one files with command:
- with password rar file (rar password: 123456)
# rar a -p123456 rarfilename.rar file1.exe file2.exe
- non password rar file
# rar a rarfilename.rar file1.exe file2.exe
RSS feed for comments on this post. TrackBack URL
May 22nd, 2010 at 6:11 pm
http://www.openrarfile.com/open-rar-file
you can try opening and compressing files online without any software Chris