LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-15-2006, 04:39 PM   #1
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Rep: Reputation: 47
Rar help


Rarlab.RAR.v3.60.LINUX.

The above is a folder on my system.

----------------------------------------

[root@c83-250-110-112 Rarlab.RAR.v3.60.LINUX.]# ls
f4cg.nfo
f4cg.rar
file_id.diz

The .nfo and the .diz files don't show any numbers.

I only found some details.

---------------------------------------------

[root@c83-250-110-112 Rarlab.RAR.v3.60.LINUX.]# unrar e f4cg.rar
bash: unrar: command not found
[root@c83-250-110-112 Rarlab.RAR.v3.60.LINUX.]#

How do I open this rar file and install? I don't have .rar on my system.

Last edited by Gins; 09-15-2006 at 04:43 PM.
 
Old 09-15-2006, 05:14 PM   #2
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Just to be sure that unrar is really not on your system, rather than not in the root user's path:
Code:
whereis unrar
If it really isn't there, install it.

Brian
 
Old 09-15-2006, 05:34 PM   #3
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Thanks BCarey for the reply.

----------------------
[nissanka@c83-250-110-112 ~]$ whereis unrar
unrar:


[nissanka@c83-250-110-112 ~]$ su root
Password:
[root@c83-250-110-112 nissanka]# whereis unrar
unrar:
[root@c83-250-110-112 nissanka]#
---------------------------

How do I install it? What is the command?
 
Old 09-15-2006, 05:45 PM   #4
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
If you use kde, there is a program called ark which should be able to work with rar files.

As to installing rar, that is a somewhat distribution-specific question. I think that Mandrake is an rpm-based distribution, so go to a site like rpmfind.net and search for rar. If I recall, the command to install it is someting like (as root) rpm -i packagename.rpm. Perhaps someone who uses Mandrake could help you out better than I.

Brian
 
Old 09-16-2006, 03:17 AM   #5
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Thanks Brian
This is not a rpm file.

The question is how to install this program.
I want to know how to install the program by using ' f4cg.rar ' file.

There should be a simple command to install the file using the above file.

The .nfo file and the .diz file are there.

I could open them using an editor.

I thought I could find a serial number or some other number. Nothing is there.

I hope somebody could give me a clue.

Last edited by Gins; 09-16-2006 at 09:40 AM.
 
Old 09-16-2006, 11:02 AM   #6
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
An rar file is a compressed archive. In order to do anything with it, you need to uncompress it. On most linux systems there is a program called unrar which will uncompress the file for you. Your system does not seem to have that archiving/unarchiving program. So when I mentioned installing an rpm, I meant installing the rpm for the rar program which will then allow you to uncompress your file. Alternatively kde's archiving program, called ark, should be able to uncompress the file for you.

Brian
 
Old 09-16-2006, 01:36 PM   #7
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Thanks Brian

What is really this Ark?
I have never used it. Is it an editor like 'vi' ?

I don't know how to use it.
 
Old 09-16-2006, 01:43 PM   #8
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
It is an kde-based archive management program with a GUI which supports a number of common compression formats such as rar, zip, bz2, etc. You can invoke it with "ark filename.rar". That will open up a window and display the contents of your rar file and allow you to extract them.

Brian
 
Old 09-16-2006, 04:02 PM   #9
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Thanks Brian

This was a tall order. I gave it up. I don't have rar program on my system. A friend of mine gave me this crack program. He said it worked beautifully on his computer. However, I am not an expert like him.

This program was a zip file. I unzipped it properly. I mean unziping worked fine. The problem was I am an idiot when it comes to using 'Ark' and the rest.
I threw it away.

I went to Rarlab official website and downloaded their 30 day trial version. The installation was very simple. It was a simple tarball. I know how to deal with tarballs.

The funny thing is that they don't have any information on how to use it.

I have a file named 'Poolia' on my system.
I just want to compress it using this rar program.

What is the command?

---------------------------

[nissanka@c83-250-110-112 ~]$ rar Poolia

RAR 3.60 Copyright (c) 1993-2006 Alexander Roshal 5 Aug 2006
Shareware version Type RAR -? for help

Usage: rar <command> -<switch 1> -<switch N> <archive> <files...>
<@listfiles...> <path_to_extract\>

<Commands>
a Add files to archive
c Add archive comment
cf Add files comment
ch Change archive parameters
cw Write archive comment to file
d Delete files from archive
e Extract files to current directory
f Freshen files in archive
i[par]=<str> Find string in archives
k Lock archive
l[t,b] List archive [technical, bare]
m[f] Move to archive [files only]
p Print file to stdout
r Repair archive
rc Reconstruct missing volumes
rn Rename archived files
rr[N] Add data recovery record
rv[N] Create recovery volumes
s[name|-] Convert archive to or from SFX
t Test archive files
u Update files in archive
v[t,b] Verbosely list archive [technical,bare]
x Extract files with full path

<Switches>
- Stop switches scanning
ad Append archive name to destination path
ag[format] Generate archive name using the current date
ap<path> Set path inside archive
as Synchronize archive contents
av Put authenticity verification (registered versions only)
av- Disable authenticity verification check
------------------------------------------

As you see, the command ' rar Poolia ' didn't work.

Last edited by Gins; 09-16-2006 at 04:04 PM.
 
Old 09-16-2006, 04:29 PM   #10
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
Gins,

To compress a file using rar you do, for example:

Code:
rar a PooliaArchive.rar Poolia
This will create a compressed version of Poolia in a file called PooliaArvice.rar. The "a" says that you want to add a file to the archive.

Conversely, now that you have rar installed on your system, you can do:

Code:
rar e f4cg.rar
to uncompress your original file. The "e" says that you want to extract from the archive.

Brian
 
Old 09-17-2006, 02:46 AM   #11
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Thanks Brian
I profoundly appreciate all your help.

It worked fine.
I created a file called 'testing200002 ' just to test the archiving command.

-------------------------------------------------------------------------

[nissanka@c83-250-110-112 ~]$ rar a testing200002Archive.rar testing200002

RAR 3.60 Copyright (c) 1993-2006 Alexander Roshal 5 Aug 2006
Shareware version Type RAR -? for help

Evaluation copy. Please register.

Creating archive testing200002Archive.rar

Adding testing200002 OK
Done
[nissanka@c83-250-110-112 ~]$
----------------------------------------------------

This is a 30 day trial version. The program my friend gave me will last for ever.

I have it on a CD. Whenever I want I can install it.

That is too 'RAR 3.60' program.

So the command ' rar e f4cg.rar ' will install it.


Will it work? Because what you are trying to do is to install the same program. It borders superimposing to my eyes.

What do you think? I would follow what you suggest.

Last edited by Gins; 09-17-2006 at 03:11 AM.
 
Old 09-17-2006, 12:41 PM   #12
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
I don't know how to advise you, because I don't know what f4cg is. What kind of program is it? I don't know what kind of program it is. So if you unarchive it with rar e you will find out what it contains and then decide how to install it.

Brian
 
Old 09-17-2006, 01:36 PM   #13
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Thanks Brian for taking time to help me again.

The program I got through my friend is the latest WinRar for Linux. It is a zip file. It is the same program which I installed yesterday by downloading from their offical website. It worked fine on his system. It is a cracked version of the latest Winrar.


RARlab.RAR.v3.60.LINUX-f4cg.zip
[ The name of the file I got from my friend.]

I unzipped it just using the unzip command. It worked fine.

It created a folder.

That is always the case when you unzip a zip file or expand a tarball.

The name of that folder is ' Rarlab.RAR.v3.60.LINUX '.

I just followed the usual procedure of installing a file on a Linux system.

The commands are ' ./configure ' , ' install ' and ' make install '



Inside the folder, I found those 3 files. One is a 'nfo' file, one is a 'diz' file and the other one is '.rar' file.

The question is if I install this program again, will it work will it corrupt the 30 day trial version?
 
Old 09-17-2006, 01:58 PM   #14
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
I can't advise you on using a cracked WinRAR.

If you just want a gui for rar, both Gnome and KDE have their own archive managers with guis which support rar and many other formats. I suggest using one of these.

Brian
 
Old 09-17-2006, 02:48 PM   #15
Gins
Senior Member
 
Registered: Jul 2004
Location: Germany
Distribution: open SUSE 11.0, Fedora 7 and Mandriva 2007
Posts: 1,662

Original Poster
Rep: Reputation: 47
Thanks Brian

I am using KDE. What are the programs for KDE?

Let me know if you know any program.
 
  


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 On
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
How to open unrar? file.part1.rar - file.part2.rar Maje Linux - Software 4 05-29-2006 01:05 AM
extracting .rar with part01.rar? chime Linux - General 5 04-11-2006 06:59 PM
Rar problem Zakos Linux - Newbie 9 02-03-2005 01:07 PM
Using rar VenimK Linux - Software 2 04-12-2004 06:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:11 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