LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 01-28-2005, 10:15 AM   #1
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,025

Rep: Reputation: 34
.rar files versus .iso files the difference?


Hey Guys,

What is an .rar file and what is the difference between an .rar file versus and .iso file.

Does an .rar file have to be uncompressed in order to burn it? And if you do burn it, will you be able to see it?

Can an .rar file be uncompressed with Linux and if so can it be converted to an .iso file, and if it can, how can someone do this?

I tried doing a search on this topic and could not find anything....

d-1
 
Old 01-28-2005, 10:20 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
find unrar at www.freshmeat.net
 
Old 01-28-2005, 10:41 AM   #3
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,025

Original Poster
Rep: Reputation: 34
I went to that site and saw nothing in regards to .rar files or unrar.

d-1
 
Old 01-28-2005, 10:46 AM   #4
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,025

Original Poster
Rep: Reputation: 34
I found this somewhere else

1. What is a RAR file

RAR is the native format of WinRAR archiver. Like other archives, RAR files are data containers, they store one or several files in the compressed form. After you downloaded RAR file from Internet, you need to unpack its contents in order to use it.
2. How to handle RAR files

WinRAR provides the complete support for RAR files, so you may both create and unpack them. If you installed WinRAR on your computer and downloaded RAR file from Internet, you may double click on RAR file icon to open it in WinRAR, select all files, press "Extract To" button, enter a destination path and press "OK". Another way is to click on the RAR file in Explorer using the right mouse button. If you enabled "Shell integration" option when installing WinRAR, the file context menu will contain "Extract to ..." item.

Some RAR files can be parts of multi-volume sequences. In WinRAR you can split a huge archive to a few smaller files, which are called volumes. They may have extensions .rar (the first volume), .r00, .r01, ..., or .part1.rar (the first volume), .part2.rar, ..., etc. If you need to unpack volumes, place all them to the same folder and start extraction from the first volume.
______________________________________________________________________________________

Question: Can Linux unpack an .rar file, or must you download a software tool that will recognize it?

d-1
 
Old 01-28-2005, 10:54 AM   #5
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
I use "ark" (the KDE archiving tool) to open .rar files. I don't recall if I had to download something to make that work ....

But, back to your original question, a .rar file is like a .zip file - a container containing one or more compressed files. (They use different compression algorithms, but the concept is the same.)

A .iso file, on the other hand, is an image of a CD (or DVD), that can be burned directly to the medium. It, too, is a container of one or more files, but instead of being compressed for storage reasons, they are formatted exactly as you would find them on a disc. You can *open* a .iso file by mounting it as if it were a filesystem.

Edit: You can get RAR for Linux here.

Last edited by Padma; 01-28-2005 at 10:57 AM.
 
Old 01-28-2005, 10:57 AM   #6
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
Posts: 3,171

Rep: Reputation: 51
http://freshmeat.net/projects/unrar/
 
Old 01-28-2005, 11:04 AM   #7
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
Rar is simply a compression format the same a zip or tar is. I saw rar files most popular on usenet for windoze pirate appz prior to the emergence of p2p programs. It is simply a compressed data file. Yes, you can burn it without uncompressing it, don't matter. As whansard mentioned, you must install unrar to uncompress it, also available as rpm from Plf source. By the way, unrar is command line, but once it is installed, compression gui frontends such as Ark can then unrar. An iso file is an image file. An iso file is different than a data file and is essentially an "image" file. Think of it as a "virtual" cd or dvd. If somebody posts an iso of something they are posting a copy of, so you can download it and burn it as an iso and end up with an exact copy of what they started with, be it a cd or dvd or even less usual things. Back to the rar to iso idea, rar files normally are not meant to be burned as iso format. The exception being if you unrar a rar file to find your finished product has a .iso extension.

Hope this makes some sense of it.
 
Old 01-28-2005, 11:14 AM   #8
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,025

Original Poster
Rep: Reputation: 34
Yes the posts are making it a lot more clearer, for I had never heard of an .rar file before. I have heard of .zip files.

Where I am not clear is how to unpack it, if that's the proper term to use.

I found these directions below, but do I even have to install "winrar" for linux in order to extract the .rar files? And my other important question that I don't understand is the part about copying the "rarreg.key" to my resistery. I underlined it below. Can you give an example on how to do this?

d-1

______________________________________________________________________

How to install Rar on Linux?


After unpacking the archive using "tar xvfz rarlinux-3.2.0.tar.gz" on your Linux machine, copy all the RAR files to /usr/sbin/. (except the text files).

As a registered user, copy the rarreg.key to your home directory, for example /root/ or /home/user.

Then start RAR at the command line.

If you get the following error message:

rar: error in loading shared libraries: libstdc++
cannot open shared object file

...please use the static version of RAR -> "rar_static".
 
Old 01-28-2005, 11:17 AM   #9
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,025

Original Poster
Rep: Reputation: 34
Padma,

If "Ark" tool will work without having to install anything I would prefer that over installing "winrar"....

Are you sure "Ark" was able to recognize and extract the rar files?

d-1

_______________________________________________________________________________



Quote:
Originally posted by Padma
I use "ark" (the KDE archiving tool) to open .rar files. I don't recall if I had to download something to make that work ....

But, back to your original question, a .rar file is like a .zip file - a container containing one or more compressed files. (They use different compression algorithms, but the concept is the same.)

A .iso file, on the other hand, is an image of a CD (or DVD), that can be burned directly to the medium. It, too, is a container of one or more files, but instead of being compressed for storage reasons, they are formatted exactly as you would find them on a disc. You can *open* a .iso file by mounting it as if it were a filesystem.

Edit: You can get RAR for Linux here.
 
Old 01-28-2005, 11:33 AM   #10
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
Quote:
I use "ark" (the KDE archiving tool) to open .rar files. I don't recall if I had to download something to make that work ....
No offence Padma, thought I'd jump in on this one as it was recently I had to do this. Ark is a frontend, the rar format is not installed by default and yes it must be installed. Once installed most frontends (graphical interface) will then be able to deal with it.
Code:
[don@x1-6-00-0a-e6-91-be-32 don]$ su
Password:
[root@x1-6-00-0a-e6-91-be-32 don]# urpmi unrar

    http://ftp.club-internet.fr/pub/linu...-2plf.i586.rpm

        1% of 88713 completed, ETA = 0:00:59, speed = 1487

installing /var/cache/urpmi/rpms/unrar-3.30-2plf.i586.rpm
Preparing...                ##################################################
   1:unrar                  ##################################################
[root@x1-6-00-0a-e6-91-be-32 don]#
 
Old 01-28-2005, 11:40 AM   #11
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,025

Original Poster
Rep: Reputation: 34
Thanks Lakota,

I will attempt this and report back either way.

d-1

______________________________________________________________________________________


Quote:
Originally posted by Lakota
No offence Padma, thought I'd jump in on this one as it was recently I had to do this. Ark is a frontend, the rar format is not installed by default and yes it must be installed. Once installed most frontends (graphical interface) will then be able to deal with it.
Code:
[don@x1-6-00-0a-e6-91-be-32 don]$ su
Password:
[root@x1-6-00-0a-e6-91-be-32 don]# urpmi unrar

    http://ftp.club-internet.fr/pub/linu...-2plf.i586.rpm

        1% of 88713 completed, ETA = 0:00:59, speed = 1487

installing /var/cache/urpmi/rpms/unrar-3.30-2plf.i586.rpm
Preparing...                ##################################################
   1:unrar                  ##################################################
[root@x1-6-00-0a-e6-91-be-32 don]#
 
Old 01-28-2005, 12:07 PM   #12
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
Thanks, Lakota. I read your post, and that *must* have been what I did.
 
Old 01-30-2005, 10:45 AM   #13
dolphans1
Senior Member
 
Registered: Jun 2003
Location: LoneStar
Distribution: Mandriva & Ubuntu
Posts: 1,025

Original Poster
Rep: Reputation: 34
Quote:
Originally posted by dolphans1
Thanks Lakota,

I will attempt this and report back either way.

d-1

______________________________________________________________________________________
Hey Lakota, That worked great, I did the urmpi "unrar" and it worked.....I unpacked or extracted the file.....

d-1
 
Old 01-31-2005, 07:50 AM   #14
Skroeder
LQ Newbie
 
Registered: Jan 2005
Distribution: Mandrake 10.1 GPL
Posts: 4

Rep: Reputation: 0
/me is n00b and this is his first post :P

Maybe this is just in windows but i thought .iso-files are cdimages..
 
Old 01-31-2005, 09:33 AM   #15
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
Skroeder: That is essentially what we said.

.iso files are images of a CD (or DVD), which can be burned directly to a disk, or even mounted as separate filesystems.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to deal with .rar files in linux now that rar is no longer part of linux Lleb_KCir Linux - Software 14 11-22-2008 07:01 AM
rar files puishor Linux - Software 15 11-20-2005 01:37 PM
Rar files AquaInferno Linux - Software 4 09-05-2005 11:18 PM
.RAR Files p.z Linux - Software 6 08-18-2003 02:38 PM
Does anyone know of were I can download iso files that are in rar format maximalred Linux - Distributions 8 04-13-2003 09:00 PM


All times are GMT -5. The time now is 01:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration