Page 1 of 1

unrar

PostPosted: 26 Oct 2008, 11:11
by spearchucker01
plz help me i am new as are most, i have downloaded a rar file and i can not for the life of me unrar it, what command line should i use to unrar said file. THANKS

Re: unrar

PostPosted: 26 Oct 2008, 13:17
by billb
You *might* be able to install unrar by clicking on this link and opening in software installer:
http://livna-dl.reloumirrors.net/fedora ... n6.ppc.rpm

Once installed, rar files will be handled by the archive manager, or you can use unrar from the command line.

If you get a "missing dependency" then the easiest way to install it would be to follow the "How to Install Software" guide here:
viewtopic.php?f=19&t=3017
(it's a bit of reading and a little work, but once you've done it you'll have many more applications available)

Re: unrar

PostPosted: 27 Oct 2008, 09:51
by spearchucker01
Thank you very much for the help, however when i use the command line unrar e file.rar i keep getting a message sayin no such file or directory, and archive manager says it could not open file. I will however download from the link and try that. :D

Re: unrar

PostPosted: 27 Oct 2008, 09:59
by ppietro
spearchucker01 wrote:Thank you very much for the help, however when i use the command line unrar e file.rar i keep getting a message sayin no such file or directory, and archive manager says it could not open file. I will however download from the link and try that. :D


Since this is unix, try unrar e ./file.rar

The ./ means look in the current directory. Otherwise, try a full path to the file. (e.g. /home/username/file.rar)

Cheers,
Paul

Re: unrar

PostPosted: 27 Oct 2008, 10:15
by spearchucker01
so if the file was in my home directory how should the code look and where will it unrar to, as i need to unrar several files to make one file if u see what i mean.

Re: unrar

PostPosted: 27 Oct 2008, 10:30
by ppietro
spearchucker01 wrote:so if the file was in my home directory how should the code look and where will it unrar to, as i need to unrar several files to make one file if u see what i mean.


Well - if you use ./ you don't have to know the full home directory path. You just cd to wherever you downloaded the file, and use ./

Otherwise, cd to the file, and use the pwd to tell exactly what the directory is.

I can't tell you your home directory name, since the folder is named after your login. So - if your login is bob, then your home directory is (generally) /home/bob

Unfortunately, I don't use rar or unrar, so I can't help much beyond that. However - Linux has a built-in help system. Use the man command for more about rar: man unrar should get you going.

Cheers,
Paul

Re: unrar

PostPosted: 27 Oct 2008, 10:37
by spearchucker01
so i tried unrar e./file.rar and got a long list of switches what now????

Re: unrar

PostPosted: 27 Oct 2008, 22:57
by ppietro
spearchucker01 wrote:so i tried unrar e./file.rar and got a long list of switches what now????


You need a space between e and ./file.rar

Cheers,
Paul

Re: unrar

PostPosted: 28 Oct 2008, 20:01
by spearchucker01
back again starting to get frustrated now. heres what i put i will include the filename so you can see what i am trying to do. a changed directory to the directory where the file is and typed unrar e ./[FILE NAME DELETED].rar and i get the same message cannot open file.rar no such file or directory. :?:

Re: unrar

PostPosted: 28 Oct 2008, 22:20
by ppietro
spearchucker01 wrote:back again starting to get frustrated now. heres what i put i will include the filename so you can see what i am trying to do. a changed directory to the directory where the file is and typed unrar e ./[FILE NAME DELETED].rar and i get the same message cannot open file.rar no such file or directory. :?:


Hmm - weird. Okay - let me take a look at unrar and see if there's anything else you need to do.

Cheers,
Paul

Re: unrar

PostPosted: 03 Nov 2008, 07:44
by spearchucker01
still having no luck, starting to think its never going to work. Same message every time.

Re: unrar

PostPosted: 03 Nov 2008, 17:19
by ppietro
Hiya!

There's a page about unrar here:
http://www.cyberciti.biz/faq/open-rar-f ... x-or-unix/

Perhaps that might help. If you're doing everything correctly, there's a possibility your archive is corrupt. Have you tried other RAR files? Or tried that archive on another computer?

Cheers,
Paul

Re: unrar

PostPosted: 27 Dec 2008, 00:09
by flip
im having the same problem i been searching for about 3 hours for some kind of advice in this but seems like no one wants to give it a shot with a little help.