i can't open rar files. I tried what was advised before but no worky.

Asked by Not As needi newbi

i tried what alan pope suggested but all i got was "bash: unrar: command not found
I installed unrar from the synaptic package. So what else can i try?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Not As needi newbi
Solved:
Last query:
Last reply:
Revision history for this message
Not As needi newbi (mango553) said :
#1

i am trying to open a group of rar files that make up a DVD video. I tried using what was suggested: $ e unrar /home/oem/desktop/dsh-jhlawd1.part001.rar
but all i got from the terminal was: "bash: unrar: command not found"
so now what?

Revision history for this message
Not As needi newbi (mango553) said :
#2

BTW, what does that "e" stand for after the $ sign?

Revision history for this message
Not As needi newbi (mango553) said :
#3

hello? ayone home?

Revision history for this message
Not As needi newbi (mango553) said :
#4

i mean like is there anyone out der?

Revision history for this message
Elben Shira (elbenshira) said :
#5

You would need to install unrar and rar:

$ sudo aptitude install unrar rar

Then to unrar your .rar files:

$ tar -vxf file.rar

Revision history for this message
Not As needi newbi (mango553) said :
#6

ok, i did install but when i typed in "tar -vxf file.rar" it said "tar: file.rar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now"

Revision history for this message
Not As needi newbi (mango553) said :
#7

I've got to take a nap for an hour or so. it's 12:30 a.m. here. I'll get back to this in a few hours. Thanks for some additional help. c ya then

Revision history for this message
Kjell Braden (afflux) said :
#8

You should replace "file.rar" with your filename (and path, if its a different directory)

example:
your rar file is in /media/disk-1/my/stuff/my/archive.rar

then you type:
$ tar -vxf /media/disk-1/my/stuff/my/archive.rar

Revision history for this message
Not As needi newbi (mango553) said :
#9

ok, i did that: $ tar -vxf /home/oem/desktop/dsh-jhlawd1.part00 1.rar
and then i got this: tar: /home/oem/desktop/dsh-jhlawd1.part001.rar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now"

///
Let me tell you that i'm in the middle of downloading a very big file [8.8GB] and it is in parts like this: "dsh-jhlawd1.part001.rar." When i get thru there will be 2 DVDs but each one will having about 91 files in parts like the one above. I don't know how i'm gonna open them and put all the parts together so i'll have 2 DVDs that i can play. Can u pls. help me figure out how to open it at that time? thanks.

Revision history for this message
Not As needi newbi (mango553) said :
#10

i'll be back!

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) said :
#11

Needi, this is not a realtime discussion channel If nobody responds in a few minutes or hours it doesn't necessarily mean they are ignoring you.

All you need to do is install unrar as explained previously and then you will be able to unpack the rar file using the graphical tool "file roller" which is in the Accessories menu.

Revision history for this message
Not As needi newbi (mango553) said :
#12

Ok Alan, thanks for cluing me in on how this all works. I'll just have
to wait until this huge file finishes it's download and then use file
roller? ok, it'll be about 2 days before i can apply this rar tool. So
until then . . .

On Sat, 2007-04-21 at 09:45 +0000, Alan Pope wrote:
> Your question #5293 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/5293
>
> Status: Open => Answered
>
> Alan Pope proposed the following answer:
> Needi, this is not a realtime discussion channel If nobody responds in a
> few minutes or hours it doesn't necessarily mean they are ignoring you.
>
> All you need to do is install unrar as explained previously and then you
> will be able to unpack the rar file using the graphical tool "file
> roller" which is in the Accessories menu.
>
> _______________________________________________________________________
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/5293/+confirm?answer_id=10
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/5293

Revision history for this message
Not As needi newbi (mango553) said :
#13

Ok, i'm back. I have finished downloading the file i wanted. Now i need to know how to open it. There are 2 folders with 95 rar files in each one. So it's a 2 DVD set. I'm supposed to use file-roller. I can't find this tool. Is it supposed to be in the Archive Manager? I went to Terminal and typed in "file-roller" and it launched 'Archive Manager'. But now i don't know what to do next.

Revision history for this message
Kjell Braden (afflux) said :
#14

Just open the folder with your file-browser (most likely "nautilus") and double-click on the first archive. The archive manager will launch and you will be able to extract the contents somewhere with the "extract" button.

Revision history for this message
Not As needi newbi (mango553) said :
#15

ok, your not gonna like this, but i extracted the files for DVD 1 but now what i have is: dsh-jhlawd1.iso [size 4.3GB] Raw CD image so i can 'write to disc' but i don't have a DVD burner! i thot i could just play it here on my comp.

Revision history for this message
Kjell Braden (afflux) said :
#16

You can.

sudo mkdir /media/cdrom0

(needed only once and doesn't matter if fails due to "already exists")

sudo mount -o loop dsh-jhlawd1.iso /media/cdrom0

when finished use

sudo umount /media/cdrom0

While it's mounted you can use any dvd-player (e.g. totem) to play it.

Revision history for this message
Not As needi newbi (mango553) said :
#17

i did what u said but got: dsh-jhlawd1.iso: No such file or directory

/////

On Sun, 2007-04-22 at 09:41 +0000, Kjell Braden wrote:
> Your question #5293 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/5293
>
> Status: Open => Answered
>
> Kjell Braden proposed the following answer:
> You can.
>
> sudo mkdir /media/cdrom0
>
> (needed only once and doesn't matter if fails due to "already exists")
>
> sudo mount -o loop dsh-jhlawd1.iso /media/cdrom0
>
>
> when finished use
>
> sudo umount /media/cdrom0
>
>
> While it's mounted you can use any dvd-player (e.g. totem) to play it.
>
> _______________________________________________________________________
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/5293/+confirm?answer_id=15
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/5293

Revision history for this message
Not As needi newbi (mango553) said :
#18

wait i did wrong i forgot the u in mount, i redid it and got:
oem@freekbox:~$ sudo umount -o loop dsh-jhlawd1.iso /media/cdrom0
umount: invalid option -- o
Usage: umount [-hV]
       umount -a [-f] [-r] [-n] [-v] [-t vfstypes] [-O opts]
       umount [-f] [-r] [-n] [-v] special | node...
oem@freekbox:~$

On Sun, 2007-04-22 at 09:41 +0000, Kjell Braden wrote:
> Your question #5293 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/5293
>
> Status: Open => Answered
>
> Kjell Braden proposed the following answer:
> You can.
>
> sudo mkdir /media/cdrom0
>
> (needed only once and doesn't matter if fails due to "already exists")
>
> sudo mount -o loop dsh-jhlawd1.iso /media/cdrom0
>
>
> when finished use
>
> sudo umount /media/cdrom0
>
>
> While it's mounted you can use any dvd-player (e.g. totem) to play it.
>
> _______________________________________________________________________
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/5293/+confirm?answer_id=15
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/5293

Revision history for this message
Not As needi newbi (mango553) said :
#19

This is what i've got so far:

oem@freekbox:~$ sudo mkdir /media/cdrom0
Password:
mkdir: cannot create directory `/media/cdrom0': File existsoem@freekbox:~$ sudo mount -o loop dsh-jhlawd1.iso /media/cdrom0dsh-jhlawd1.iso: No such file or directory
oem@freekbox:~$ sudo umount -o loop dsh-jhlawd1.iso /media/cdrom0umount: invalid option -- o
Usage: umount [-hV]
       umount -a [-f] [-r] [-n] [-v] [-t vfstypes] [-O opts] umount [-f] [-r] [-n] [-v] special | node...
oem@freekbox:~$ sudo mkdir /media/cdrom0
mkdir: cannot create directory `/media/cdrom0': File exists
oem@freekbox:~$ sudo mount -o loop dsh-jhlawd1.iso /media/cdrom0
dsh-jhlawd1.iso: No such file or directory
oem@freekbox:~$ sudo umount /media/cdrom0
umount: /media/cdrom0: not mounted
oem@freekbox:~$

Revision history for this message
Kjell Braden (afflux) said :
#20

"wait i did wrong i forgot the u in mount" -- no, you didn't. The U is only needed for "unmounting"

If you type:

sudo mount -o loop dsh-jhlawd1.iso /media/cdrom0

you should be in the same directory (with the shell) as the dsh-jhlawd1.iso
If you aren't you can still type

sudo mount -o loop [whatever_your_directory_is]/dsh-jhlawd1.iso /media/cdrom0

Google for "absolute vs. relative path" for getting more information on that.

Revision history for this message
Not As needi newbi (mango553) said :
#21

see email

Revision history for this message
Not As needi newbi (mango553) said :
#22

ok here is what i got in Terminal: oem@freekbox:~$ sudo mount -o loop
dsh-jhlawd1.iso /media/cdrom0
Password:
dsh-jhlawd1.iso: No such file or directory
oem@freekbox:~$ sudo mount -o l oop /home/oem/downloads/BitTorr
ents1A/dsh-jhlawd1.iso
mount: can't find /home/oem/dow nloads/BitTorrents1A/dsh-jhlawd 1.iso
in /etc/fstab or /etc/mta b
oem@freekbox:~$ /media/cdrom0

/////

On Sun, 2007-04-22 at 11:02 +0000, Kjell Braden wrote:
> Your question #5293 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/5293
>
> Status: Open => Answered
>
> Kjell Braden proposed the following answer:
> "wait i did wrong i forgot the u in mount" -- no, you didn't. The U is
> only needed for "unmounting"
>
> If you type:
>
> sudo mount -o loop dsh-jhlawd1.iso /media/cdrom0
>
> you should be in the same directory (with the shell) as the dsh-jhlawd1.iso
> If you aren't you can still type
>
> sudo mount -o loop [whatever_your_directory_is]/dsh-jhlawd1.iso
> /media/cdrom0
>
> Google for "absolute vs. relative path" for getting more information on
> that.
>
> _______________________________________________________________________
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/5293/+confirm?answer_id=19
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/5293

Revision history for this message
Kjell Braden (afflux) said :
#23

(this message is not meant to be offensive!)

Well, "see mail". Read carefull please.

I *saw* your mail and I answered it. The error message was "dsh-jhlawd1.iso: No such file or directory" which actually means "dsh-jhlawd1.iso: No such file or directory". The file dsh-jhlawd1.iso can not be found where you are. You are in "~" which is your home directory, in this case /home/oem. You need to specify the path to your extracted the file (dsh-jhlawd1.iso).

EXAMPLE:
You extract your file named dsh-jhlawd1.iso to /home/oem/my/ripped/dvds/
then you have to type EXACTLY one of the ways (use copy&paste!) in your shell:

sudo mount -o loop /home/oem/my/ripped/dvds/dsh-jhlawd1.iso /media/cdrom0

OR

cd /home/oem/my/ripped/dvds/
sudo mount -o loop dsh-jhlawd1.iso /media/cdrom0

NO additional line-breaks, NO additional whitespaces.

Revision history for this message
Not As needi newbi (mango553) said :
#24

this is what i get in Terminal: oem@freekbox:~$ sudo mount -o
loop /home/oem/downloads/BitTorrents1A/JH-Woodstock-DVD1/dsh-jhlawd1.iso
mount: can't
find /home/oem/downloads/BitTorrents1A/JH-Woodstock-DVD1/dsh-jhlawd1.iso
in /etc/fstab or /etc/mtab
oem@freekbox:~$ /media/cdrom0
bash: /media/cdrom0: is a directory
oem@freekbox:~$

//// What is the 'shell'? [sorry i'm slow to learn]
////

On Sun, 2007-04-22 at 12:27 +0000, Kjell Braden wrote:
> Your question #5293 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/5293
>
> Status: Open => Answered
>
> Kjell Braden proposed the following answer:
> (this message is not meant to be offensive!)
>
> Well, "see mail". Read carefull please.
>
> I *saw* your mail and I answered it. The error message was "dsh-
> jhlawd1.iso: No such file or directory" which actually means "dsh-
> jhlawd1.iso: No such file or directory". The file dsh-jhlawd1.iso can
> not be found where you are. You are in "~" which is your home directory,
> in this case /home/oem. You need to specify the path to your extracted
> the file (dsh-jhlawd1.iso).
>
> EXAMPLE:
> You extract your file named dsh-jhlawd1.iso to /home/oem/my/ripped/dvds/
> then you have to type EXACTLY one of the ways (use copy&paste!) in your shell:
>
> sudo mount -o loop /home/oem/my/ripped/dvds/dsh-jhlawd1.iso
> /media/cdrom0
>
> OR
>
> cd /home/oem/my/ripped/dvds/
> sudo mount -o loop dsh-jhlawd1.iso /media/cdrom0
>
>
> NO additional line-breaks, NO additional whitespaces.
>
> _______________________________________________________________________
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/5293/+confirm?answer_id=22
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/5293

Revision history for this message
Not As needi newbi (mango553) said :
#25

I'm sorry but i'm not able to get this. i have to get some sleep. i'll
come back to this later. Thanks for your help. Needi Newbi
/////

On Sun, 2007-04-22 at 12:27 +0000, Kjell Braden wrote:
> Your question #5293 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/5293
>
> Status: Open => Answered
>
> Kjell Braden proposed the following answer:
> (this message is not meant to be offensive!)
>
> Well, "see mail". Read carefull please.
>
> I *saw* your mail and I answered it. The error message was "dsh-
> jhlawd1.iso: No such file or directory" which actually means "dsh-
> jhlawd1.iso: No such file or directory". The file dsh-jhlawd1.iso can
> not be found where you are. You are in "~" which is your home directory,
> in this case /home/oem. You need to specify the path to your extracted
> the file (dsh-jhlawd1.iso).
>
> EXAMPLE:
> You extract your file named dsh-jhlawd1.iso to /home/oem/my/ripped/dvds/
> then you have to type EXACTLY one of the ways (use copy&paste!) in your shell:
>
> sudo mount -o loop /home/oem/my/ripped/dvds/dsh-jhlawd1.iso
> /media/cdrom0
>
> OR
>
> cd /home/oem/my/ripped/dvds/
> sudo mount -o loop dsh-jhlawd1.iso /media/cdrom0
>
>
> NO additional line-breaks, NO additional whitespaces.
>
> _______________________________________________________________________
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/5293/+confirm?answer_id=22
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/5293

Revision history for this message
Kjell Braden (afflux) said :
#26

As I said: NO additional line breaks. You just did one. Put the "/media/cdrom0" in the same line as the "sudo mount -o
loop /home/oem/downloads/BitTorrents1A/JH-Woodstock-DVD1/dsh-jhlawd1.iso" (and please don't carry the email-quote stuff with you, it's annoying and kills the outline / takes a lot of place.)

Revision history for this message
Not As needi newbi (mango553) said :
#27

ok, this what happened:
oem@freekbox:~$ sudo mount -o loop /home/oem/downloads/BitTorrents1A/JH-Woodstock-DVD1/dsh-jhlawd1.iso
Password:
mount: can't find /home/oem/downloads/BitTorrents1A/JH-Woodstock-DVD1/dsh-jhlawd1.iso in /etc/fstab or /etc/mtab
oem@freekbox:~$

Revision history for this message
Amin Contreras (koutarou) said :
#28

you've to specify the place yo want to mount it something like /media/iso or something like

$ sudo mount -o loop /home/oem/downloads/BitTorrents1A/JH-Woodstock-DVD1/dsh-jhlawd1.iso /media/iso

if you get some error then try first $ sudo mkdir /media/iso

if this doesn't help try the solution described on this page http://www.ubuntugeek.com/mount-and-unmout-iso-images-without-burning-them.html

Revision history for this message
Not As needi newbi (mango553) said :
#29

Thanks for your input but while i was sleeping i had left a process
running and it has evidently been extracting files from the iso archive
for Disk1
called VIDEO_TS and now i have started it going for Disk 2. This
evidently takes a very long time so i will return when this process is
completed.

Revision history for this message
Elben Shira (elbenshira) said :
#30

This is a bit messy. First you need to make folder to mount this to:

$ sudo mkdir /media/iso

Then you mount it:
$ sudo mount -o loop /home/oem/downloads/BitTorrents1A/JH-Woodstock-DVD1/dsh-jhlawd1.iso /media/iso

If you want an easier way, this could help:
http://ubuntuforums.org/showthread.php?t=87369

Revision history for this message
Not As needi newbi (mango553) said :
#31

ok, i think i have discovered how to use the file roller in the Archive Manager. But it takes a very loooong time to finish. it's still going now. My Comp ran out of RAM and i had to reboot and then i lost o lot of what was done by doing that. So now i'm doing it over. I'll have to wait to see if this will completely unpackage this file. Thanx for everyone's help so far. Sorry it's taken so long and is messy. I don't know about any of you but i've learned a lot.

Revision history for this message
Best Not As needi newbi (mango553) said :
#32

Let's just say we solved this problem for the most part. If i run up against a wall at unpackaging these rar files, i'll start a new question. Thanks again to all who helped.