Go Back
09 Sep 2010
Reload this Page Support Center » Knowledgebase » RAR in Server management

 RAR in Server management
Solution Welcome to the ProgrammingTalk forums. We are a programming, coding, and design oriented community dedicated to helping out with all different types of programming questions and languages.

You are currently viewing our board as a guest which gives you very limited access to view discussions and access our other features. In order to gain full access to this board, we require you to register. Registration is absolutely free and very easy to accomplish, simply click the link above to begin. If you have already registered with us, all you have to do is login.

If you have any problems with the registration process or your account login, please don't hesitate to contact Support.
Go Back ProgrammingTalk > General Community > Script Requests
Reload this Page SSH command to unrar?
Search Forums
Show Threads Show Posts
Advanced Search
Go to Page...
Reply

Thread Tools Search this Thread Display Modes
#1
Old 11-27-08, 09:53 PM
DangerZone DangerZone is offline
Newbie Coder

Join Date: Jun 2007
Posts: 26
Angry SSH command to unrar?

Hello there.
I'm confused, thats all I got 2 say!

I came through this, but I am on a shared server and I dont think I can install anything.
I've been searching all night for that but havent come up with a solution!

I have SSH access and I've tried the tar command but it seems to work only with tar files using this command:

tar -xvvf 1.tar

is there an alternative with this command or another to unrar?

thanks.

PS: I dont even know if Im posting in the right location!!!! Sorry!
Reply With Quote
DangerZone
View Public Profile
Visit DangerZone's homepage!
Find all posts by DangerZone
#2
Old 11-28-08, 10:24 AM
End User's Avatar
End User End User is online now
Level II Curmudgeon

Join Date: Dec 2004
Location: Error 550: Unable to load DETAILS file
Posts: 2,291
Quote:
Originally Posted by DangerZone View Post
is there an alternative with this command or another to unrar?


http://www.cyberciti.biz/faq/open-ra...linux-or-unix/

Install the unrar executable:

Under Debian Linux, you need to type apt-get as follows to install unrar program:
# apt-get install unrar

If you are using Fedora core Linux then use yum command as follows (see discussion below):
# yum install unrar

If you are using FreeBSD, use:
# pkg_add -v -r unrar

If any of above methods are not working for you, download binary package from official rarlab site:
$ cd /tmp
$ wget http://www.rarlab.com/rar/rarlinux-3.6.0.tar.gz

Untar file
$ tar -zxvf rarlinux-3.6.0.tar.gz

Both unrar and rar commands are located in rar sub-directory. Just go to rar directory:
$ cd rar
$ ./unrar

Now copy rar and unrar to /bin directory:
# cp rar unrar /bin
How to use unrar

unrar command supports various options below are common options that you need to use everyday.
Task: To open rar (unpack) file in current directory type command:

$ unrar e file.rar

Please note that replace file.rar filename with your actual filename.
Task: List (l) file inside rar archive:

$ unrar l file.rar
Task: To extract (x) files with full path type command:

$ unrar x file.rar

(D) To test (t) integrity of archive, file type command:
$ unrar t file.rar



Article Details
Article ID: 12
Created On: 26 Jan 2009 02:30 PM

 This answer was helpful  This answer was not helpful

 Login  
Username:
Password:
Remember Me:
 
 Search
 Article Options
Home | Knowledgebase | Troubleshooter | News | Downloads
Language:
Help Desk Software By Kayako SupportSuite v3.11.01
 
   
Legal  |  Staff  |  Report a bug  |

© 2008 Xtrato Designs