PDA

View Full Version : [ubuntu] I cannot extract .RAR files



ahmed_nasr
June 14th, 2008, 04:40 PM
hi all ,

i cannot extract rar files on buntu .... i installed rar compression/uncompression tool and when i try to extract a file usin it i get this :

http://b.imagehost.org/0064/Screenshot-file-roller.png


so can anybody help me plz ?

dkruidhof
June 14th, 2008, 05:02 PM
What tool did you install?

I have unrar (package in synaptic or apt-get) installed and it's worked fine for me.

edit: just noticed your error message said you don't have permission to extract it. If you are using the terminal, start the command with "sudo" w/o the quotes. If you want to use a gui, then hit alt+F2 and type in "gksudo nautilus" w/o quotes then enter your password. That will open up a window with root access, so be careful what you do, but it should allow you to extract that file.

dacorr
June 14th, 2008, 05:05 PM
check the file permissions for the destination, its telling you it cannot write to the place you are extracting to.

Dac

aktiwers
June 14th, 2008, 05:14 PM
If you have permition to extract it in your download folder, chech if the rar files permitions.
Then change it if you dont have permition to extract it.

Open terminal and type:

sudo chmod 777 <Drag/drop rar file here>

ahmed_nasr
June 14th, 2008, 05:19 PM
dkruidhof : i used nautilus but still got no permission

Dac : how to get permission to right on this location ?

SunnyRabbiera
June 14th, 2008, 05:19 PM
What tool did you install?

I have unrar (package in synaptic or apt-get) installed and it's worked fine for me.

edit: just noticed your error message said you don't have permission to extract it. If you are using the terminal, start the command with "sudo" w/o the quotes. If you want to use a gui, then hit alt+F2 and type in "gksudo nautilus" w/o quotes then enter your password. That will open up a window with root access, so be careful what you do, but it should allow you to extract that file.

but unrar does help, at least for extracting them in a normal install.

ahmed_nasr
June 14th, 2008, 05:45 PM
If you have permition to extract it in your download folder, chech if the rar files permitions.
Then change it if you dont have permition to extract it.

Open terminal and type:

sudo chmod 777 <Drag/drop rar file here>

i do this but still have no permission to extract

aktiwers
June 14th, 2008, 05:45 PM
You need a space after the 777

sudo chmod 777 /media/sda5/Downloads/Al_Okzoba.rar

ahmed_nasr
June 15th, 2008, 01:28 PM
hey .. guys i need help here

bumanie
June 15th, 2008, 01:32 PM
Normally
sudo apt-get install rar unrar will usually allow you to do anything you need with .rar files.

subaruwrc01
June 15th, 2008, 01:33 PM
They have answered your question. Make sure you have the correct path to the file and are typing the command right into the terminal.

If you are still having problems post your code and more help can be given.

aktiwers
June 15th, 2008, 01:36 PM
What if you copy the rar file to your Desktop and extract it there?

aktiwers
June 15th, 2008, 01:40 PM
If this is the case, I guess you for some reason don't have permission over your hard drive.
To give yourself permission run this command:

sudo chown -R USERNAME:USERNAME /media/sda5Where USERNAME is your Ubuntu username.
Then try unrar it again