LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Rar help (https://www.linuxquestions.org/questions/linux-general-1/rar-help-483880/)

Gins 09-15-2006 04:39 PM

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.

BCarey 09-15-2006 05:14 PM

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

Gins 09-15-2006 05:34 PM

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?

BCarey 09-15-2006 05:45 PM

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

Gins 09-16-2006 03:17 AM

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.

BCarey 09-16-2006 11:02 AM

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

Gins 09-16-2006 01:36 PM

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.

BCarey 09-16-2006 01:43 PM

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

Gins 09-16-2006 04:02 PM

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.

BCarey 09-16-2006 04:29 PM

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

Gins 09-17-2006 02:46 AM

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.

BCarey 09-17-2006 12:41 PM

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

Gins 09-17-2006 01:36 PM

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?

BCarey 09-17-2006 01:58 PM

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

Gins 09-17-2006 02:48 PM

Thanks Brian

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

Let me know if you know any program.


All times are GMT -5. The time now is 06:15 PM.