LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 04: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, 04:20 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
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, 04: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, 04:56 PM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
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, 05: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, 09:01 PM   #6
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
So what about rar? I mean, there is an application called "rar" that has to be installed separately from unrar.
 
Old 02-04-2009, 04: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, 06:10 AM   #8
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

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

Rep: Reputation: 212Reputation: 212Reputation: 212
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, 06:28 AM   #10
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
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, 07:04 AM   #11
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
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, 07:34 AM   #12
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
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, 08: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, 02:16 PM   #14
lolka
LQ Newbie
 
Registered: Jul 2008
Posts: 23

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

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:30 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
Open Source Consulting | Domain Registration