LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-03-2009, 05:12 PM   #1
lolka
LQ Newbie
 
Registered: Jul 2008
Posts: 23

Rep: Reputation: 0
how to rar/unrar files in linux ?


extart >> unrar e file.rar

and rar?
how tu rar folder or any file ?
 
Old 02-03-2009, 05:20 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 208Reputation: 208Reputation: 208
There's no free software to create rar files in GNU/Linux, however unrar is available as free, open source. If you want to do both then you can use wine and install winrar.
 
Old 02-03-2009, 05:41 PM   #3
camphor
Member
 
Registered: Jan 2009
Location: USA
Distribution: Fedora 14 / Slackware 13.1
Posts: 85

Rep: Reputation: 20
PeaZip gets the job done once you have the necessary dependencies.

http://peazip.sourceforge.net/

Not sure if there's an apt-get command or not..
 
Old 02-03-2009, 05:56 PM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 208Reputation: 208Reputation: 208
Quote:
Originally Posted by camphor View Post
PeaZip gets the job done once you have the necessary dependencies.
Except creating rar files.
 
Old 02-03-2009, 06:12 PM   #5
camphor
Member
 
Registered: Jan 2009
Location: USA
Distribution: Fedora 14 / Slackware 13.1
Posts: 85

Rep: Reputation: 20
Quote:
Originally Posted by {BBI}Nexus{BBI} View Post
Except creating rar files.
Ah, forgot about that part.
 
Old 02-03-2009, 10:01 PM   #6
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
So what about rar? I mean, there is an application called "rar" that has to be installed separately from unrar.
 
Old 02-04-2009, 05:09 AM   #7
zectersys
LQ Newbie
 
Registered: Jan 2009
Location: jakarta
Distribution: mandriva2K9, Ubuntu 9.04, DSL
Posts: 25

Rep: Reputation: 15
I'm sorry i'm new in linux but i have the same problem. I have many file in *.rar and some of them is very important to me. For the 1st time i get frustated to know that linux doesn't support rar file. After searching for hours with the help of "Master Google" i found that winrar has been porting to linux (yes it's true!) but of course it's not free . And it's only available on command line that was nightmare for newbie like me (too much parameters to remember). But If you want to unrar (only to extract this file of course)i found 7zip it's call p7zip in linux, it's more "friendly" use eventhough you must use it from terminal.
 
Old 02-04-2009, 07:10 AM   #8
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
You can actually use izarc if you have wine installed. Works perfectly, is free but it is also closed source.
 
Old 02-04-2009, 07:21 AM   #9
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 208Reputation: 208Reputation: 208
Quote:
Originally Posted by jay73 View Post
So what about rar? I mean, there is an application called "rar" that has to be installed separately from unrar.
I should have only said that there is no free 'open source' rar binary available for creating rar files. You'll find when you use the proprietary rar binary you are referring to that it is an 'evaluation copy' and therefore subject to registration for full use.
 
Old 02-04-2009, 07:28 AM   #10
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 208Reputation: 208Reputation: 208
Quote:
Originally Posted by zectersys View Post
For the 1st time i get frustated to know that linux doesn't support rar file
It has nothing to do with GNU/Linux not supporting rar. It's just not free and open source. You should instead direct your frustrations at the author of the format.
 
Old 02-04-2009, 08:04 AM   #11
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,075

Rep: Reputation: 189Reputation: 189
Rar for Linux is available here:

http://rarlabs.com/download.htm

As the previous poster has stated, it is considered to be a "trial" version, but it is not crippled in any way. There is no gui for it - iow, cli only.

It can, of course, create and extract rars.

To extract an archive:

Code:
rar x <filename>
To create an archive
Code:
 rar a <archive_name> <file/directory_to_archive>
To password protect an archive and to span volumes (ie, create a multi-part archive of 100Mb each)
Code:
 rar a -p<password> -v100M <archive_name> <file/directory_to_archive>
Hope this gets you started.

cheers,
 
Old 02-04-2009, 08:34 AM   #12
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 5, Linux Lite
Posts: 4,312

Rep: Reputation: 208Reputation: 208Reputation: 208
Quote:
Originally Posted by {BBI}Nexus{BBI} View Post
...subject to registration for full use.
I stand corrected on that statement, it implies the app is in some way crippled, which it is not as stated by the previous poster.
 
Old 02-04-2009, 09:00 AM   #13
vasmakk
Member
 
Registered: Jan 2009
Distribution: Debian Lenny, Ubuntu 9.04
Posts: 87

Rep: Reputation: 16
Have any one of you tried 7-zip ?
www.7-zip.org/download.html

I've used it in Windows and I'am very pleased of it. Now it is available for Linux too (under the name p7zip). It supports many different formats, including .rar

Vas
 
Old 02-08-2009, 03:16 PM   #14
lolka
LQ Newbie
 
Registered: Jul 2008
Posts: 23

Original Poster
Rep: Reputation: 0
thanks all
 
Old 02-08-2009, 03:59 PM   #15
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
Quote:
Originally Posted by zectersys View Post
I'm sorry i'm new in linux but i have the same problem. I have many file in *.rar and some of them is very important to me. For the 1st time i get frustated to know that linux doesn't support rar file.
We could better say that it's rar which doesn't support Linux. Remember: it's closed software what we speak about.

Quote:
After searching for hours with the help of "Master Google" i found that winrar has been porting to linux (yes it's true!) but of course it's not free . And it's only available on command line that was nightmare for newbie like me (too much parameters to remember).
Rar was born as a DOS program, and people used it in command line just like lha, arj, pkzip and many others. No one died because of that, and they were widely used by non-techie users. You just need to remember how to do rar --help or whatever the parameter to show the help, with the time you'll learn the rest.

It's more about laziness that about having a true problem. By the way, mc can navigate into rar files. I don't know about graphical frontends.

Besides that, I don't know why anyone would want to compress their data on a non-free format whose usability will depend on the will of someone. There are lots of free alternatives, use one of those instead. All you need to use the rar's that others will send you is the free unrar tool.
 
  


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
I can not UnRAR my .rar file in Linux. hello_curator Linux - Software 3 02-19-2007 04:28 PM
How to open unrar? file.part1.rar - file.part2.rar Maje Linux - Software 4 05-29-2006 02:05 AM
rar or unrar to recombine files? shanenin Linux - Software 2 05-22-2005 12:01 PM
RAR and UNRAR HELP linubex Mandriva 4 04-29-2005 03:49 PM
unrar/rar problems....please help :) BmxFace Linux - Software 2 05-31-2004 07:43 PM


All times are GMT -5. The time now is 07:36 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration