MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
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?
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".
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.
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]#
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]#
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.