PDA

View Full Version : [ubuntu] Unpacking .rar files



yonyz
November 22nd, 2008, 07:57 PM
Hi,

I'm using Ubuntu 8.10.

I have an .iso file that is packed into 5 .rar files - part1.rar, part2.rar, etc..

I've downloaded the RAR 3.80 Trial for Linux from www.rarlab.com.

That software I've downloaded is packed into a .tar.gz file - how do I install it?

Thanks in advance.

keithld
November 22nd, 2008, 08:00 PM
Right click on the file and let "Archive Manager" open it...

Archive Manager should also open your other file....

taurus
November 22nd, 2008, 08:00 PM
Assuming you are in the directory where those rar files are, open a terminal and run

Applications -> Accessories -> Terminal

sudo apt-get update
sudo apt-get install unrar
unrar x par1.rar

yonyz
November 22nd, 2008, 08:18 PM
OK, I used Archive Manager to extract the content of the RAR 3.80 software .tar.gz archive.
Now I got a folder called "rar" with the following files:

default.sfx
file_id.diz
license.txt
Makefile
order.htm
rar
rar.txt
rarfiles.lst
rar_static
readme.txt
technote.txt
unrar
whatsnew.txt

How do I run and use this software to unpack the .rar files?
I tried opening the .rar files with Archive Manager, but I get a "Archive type not supported" error.

Note that my Linux PC is not connected to the internet, so I can download anything from Terminal.
Instead, I download everything from a laptop with Win XP, and copy the files to the Linux PC with a USB MP3 player.

taurus
November 22nd, 2008, 08:40 PM
You can move that unrar to /usr/bin so it's on your path.


sudo cp unrar /usr/bin
source ~/.bashrc
unrar x part1.rar
Again, assuming you are in the directory where the unrar is and part1.rar is. Otherwise, you need to include the whole path.

yonyz
November 22nd, 2008, 08:52 PM
I get a "Permission denied" error when trying to move the file "unrar" to the folder "/usr/bin".

taurus
November 22nd, 2008, 08:57 PM
Sounds like you are using nautilus. Run nautilus from a terminal with a root privilege.


gksudo nautilus

yonyz
November 22nd, 2008, 09:00 PM
OK, I got to the root folder.
Now what?

taurus
November 22nd, 2008, 09:01 PM
Just navigate to where you have unpacked the rar.tar.gz and move the unrar to /usr/bin.

yonyz
November 22nd, 2008, 09:12 PM
OK, I successfully moved the file "unrar" to the folder "/usr/bin".
I don't understand what to write in the terminal.

It's my first day using Linux, so please try to explain to me what I should write exactly.

yonyz
November 22nd, 2008, 09:17 PM
So after I moved "unrar" to "usr/bin", Archive Manager now opens .rar files.

Thank you all.

pietjanjaap
November 22nd, 2008, 10:16 PM
Try peazip, has a nice gui.

tcavazos
March 13th, 2009, 02:03 AM
thanks man, worked perfect for me.