Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
Thread Tools Display Modes
Old September 3rd, 2006   #1
iceman504
5 Cups of Ubuntu
 
Join Date: Aug 2006
Location: Memphis,TN
Beans: 28
Ubuntu 6.06 Dapper
Unrar Password protected .rar files

hey i am using the newest ubuntu and i installed unrar (nonfree) and rar and i got 2 files thst require passwords but i cant get a place to enter the password in. any ideas?
iceman504 is offline   Reply With Quote
Old September 3rd, 2006   #2
cilynx
Dipped in Ubuntu
 
Join Date: Jul 2005
Location: Milwaukee, WI
Beans: 539
Send a message via AIM to cilynx Send a message via Skype™ to cilynx
Re: Unrar Password protected .rar files

from the man page:

unrar -p<password>
__________________
Wolfteck.com: Motorola V400|HP ZE4200|Xilinx Native
Because other hobbies are good: Vintage Motorcycles
How did I become the world expert on the Jacobsen Sno-burst?
cilynx is offline   Reply With Quote
Old September 3rd, 2006   #3
pt123
Dipped in Ubuntu
 
Join Date: Jul 2005
Beans: 621
Ubuntu 9.04 Jaunty Jackalope
Re: Unrar Password protected .rar files

Why can't the Archive Manager - File Roller handle password RAR files. Its ridiculous.
pt123 is offline   Reply With Quote
Old September 3rd, 2006   #4
iceman504
5 Cups of Ubuntu
 
Join Date: Aug 2006
Location: Memphis,TN
Beans: 28
Ubuntu 6.06 Dapper
Re: Unrar Password protected .rar files

ok thanks i figured it out but i ran into a new problem what about files that end with .z01 that are multipart files. In windows you could add .rar to the files(after .z01) and everything would extract with no problems but in ubuntu i only come up with errors or wont extract at all. any ideas on extracting these files?

Last edited by iceman504; September 3rd, 2006 at 03:28 AM.. Reason: more info
iceman504 is offline   Reply With Quote
Old November 16th, 2006   #5
starscalling
A Carafe of Ubuntu
 
Join Date: Oct 2005
Beans: 149
Re: Unrar Password protected .rar files

bump
i need this info too
starscalling is offline   Reply With Quote
Old November 16th, 2006   #6
matthew
Bubbleheaded Star Child
 
matthew's Avatar
 
Join Date: Apr 2005
Location: Parts Unknown
Beans: 8,910
Ubuntu 9.10 Karmic Koala
Re: Unrar Password protected .rar files

I didn't see this thread the first time around...sorry.

There are several ways to accomplish what you want to do. For me the command line is the fastest and easiest and it is certainly the easiest way to tell you how to do it in a post like this.

First make sure the packages "rar" and "unrar" are installed. You can use the Synaptic Package Manager or open a terminal by going to Applications->Accessories->Terminal and typing
Code:
sudo apt-get install rar unrar
and entering your password when prompted.

To open password protected rar files from the command line first open a terminal and change to the directory the file is in.
Code:
cd /directoryname
then type
Code:
unrar e filename.rar
You will be prompted to enter the password.

Finally, for the multiple-file archives...hmm. I haven't dealt with those in a while so my memory is a bit fuzzy. Here are a couple of clues that will hopefully get you on the right track anyway. I believe that unrar should be able to handle the fact that there are multiple files and combine them for you. If there are several files, all with the same filename but differing extensions (filename.z01, filename.z02, etc) and one main filename.rar, then try
Code:
unrar e filename.rar
If that doesn't do the trick you can try to join the separate files into one big file using cat
Code:
cat filename.z* > groupedtogetherfilename.rar
followed by
Code:
unrar e groupedtogetherfilename.rar
Anyway, hopefully that will help you with some ideas of where to look next if my ideas don't work for you right off the bat.

FINALLY: I'm moving this thread to General Help.
__________________
Forum FAQ | Forum CoC | what's a troll? | are you imposing?
my blog | my writing

Don't ask support questions in PMs--post a thread so everyone can benefit!


matthew is offline   Reply With Quote
Old January 19th, 2007   #7
vliegje20
Spilled the Beans
 
Join Date: Jan 2007
Beans: 14
Re: Unrar Password protected .rar files

I did what you said but at

unrar e filename.rar

it saysatrick@ubuntu:~/Desktop$ unrar e partykroegenhits.rar

UNRAR 3.51 freeware Copyright (c) 1993-2005 Alexander Roshal

Cannot open partykroegenhits.rar
No files to extract
im not asked for a password
vliegje20 is offline   Reply With Quote
Old January 19th, 2007   #8
Billquinn1
Just Give Me the Beans!
 
Join Date: Apr 2005
Beans: 67
Ubuntu 6.06
Re: Unrar Password protected .rar files

Look for a program called HJsplit on the net. They have a linux version that will join them right up.

Bill
__________________
ubuntu 7.04, AMD Athlon XP2800,

Billquinn1
Billquinn1 is offline   Reply With Quote
Old January 19th, 2007   #9
Billquinn1
Just Give Me the Beans!
 
Join Date: Apr 2005
Beans: 67
Ubuntu 6.06
Re: Unrar Password protected .rar files

I just reread your post and I am wondering if you have installed the nonfree rar package. Look in synaptic and if you have not, then install it and try again.

Bill
__________________
ubuntu 7.04, AMD Athlon XP2800,

Billquinn1
Billquinn1 is offline   Reply With Quote
Old January 19th, 2007   #10
Error1312
Just Give Me the Beans!
 
Join Date: Jan 2005
Location: Belgium
Beans: 71
Ubuntu 7.04 Feisty Fawn
Re: Unrar Password protected .rar files

There is also a commandline version of WinRar for linux which you can download here: http://www.winrar.be/download.htm

Simply extract it, and then use the following command:
rar e -p <filename of the first .rar archive>

It'll ask for a password and start extracting all the .rar archives.
Error1312 is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:50 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry