LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Getting WinRar to work (https://www.linuxquestions.org/questions/linux-newbie-8/getting-winrar-to-work-226287/)

Mujju 09-03-2004 04:15 PM

Please help me get WinRar to work - thankx
 
Hey, Newbie here... I am running Knoppix 3.2 right now because Windows has screwed up indefinitely. What i want to do, is to 'rar' up some files and email them to myself using 'YouSenditdotcom' and I downloaded the Linux version of Winrar: rarlinux-3.3.0.tar.gz
my question is, how do i run a .gz file? i thought yu'd need winrar to open such a file.. but thats what I'm trying to get ..
also, it says thats its a command line version.. how do i use the command line to archive multiple files?
Thankyou- any and all help is greatly appreciated
-Mujju

bruno buys 09-03-2004 04:26 PM

To use this program you downloaded, first you have to compile it. Knoppix must have tools for it, already.

- Unpack the tar.gz. It should create a folder.

- Open this folder in a terminal and do:

./configure

This will run several checking to see whether you can compile the package ok.
If it finishes whitout errors, you have to:

"su" to root and do

make

this will compile the program.

then, to install the compiled program on your system:

make install

Post again if you get stuck.

Mujju 09-03-2004 04:58 PM

right.. heres what i did
i Saved the file to this location when i downloaded it: tar:/home/knoppix/rarlinux-3.3.0.tar.gz
and when i clicked on it, it created a folder (like what u said) @ this location : tar:/home/knoppix/rarlinux-3.3.0.tar.gz/rar
in that folder there are lots of different files..
where i'm stuck is.. (this mite sound extremely newbie) is the part where u said: "- Open this folder in a terminal and do:" <-- so i need to know what exactly u need me to click on or type in for that
where keyword being 'terminal'... i right clicked on that window and clicked on 'Open terminal here'.. it opened up Shell .. to find out what directory i was in, i typed in 'dir' and the following is what i got:
"Desktop office rarlinux-3.3.0.tar.gz tmp"
so, the 'rar' folder i thought it had created didnt exist.. i tried "dir rarlinux-3.3.0.tar.gz" but to no avail... the "/configure" is giving me " bash: /configure: No such file or directory"
so, i can now see all the files from winrar in "Konqueror" but am not sure if I should click on any..
thanx for your help.. just need some more :D
-Mujju

dataangel 09-03-2004 05:07 PM

Linux already comes with a tool like winrar, that's why you can open it. It's called tar.

tar xvf yourfilehere.tar.gz

will extract it. You need to type that command in a terminal. The sure proof way to get to the terminal is simply to press ctrl+alt+F1, but somewhere in Knoppix's start menu you should be able to find a program called terminal.

To navigate your way through folders in a terminal, use the cd command:

cd /home/knoppix/rarlinux-3.3.0.tar.gz/rar

That will put you in that folder.

bruno buys 09-03-2004 06:06 PM

Hi Mujju,

The idea is: you have to enter the dir created by the package and run a few comands in there.

This is how you do this:

- Open konqueror and browse until you see the package .tar.gz you downloaded.
- Right click on it and choose extract here (this will create the folder).
- With konqueror, enter the new folder.
- Now, to open a shell here, just hit F4. If it doesn't, try "Open terminal here".

Ok, you have a terminal and you are on the right dir.

- Issue
./configure
(Notice the dot before the slash). It won't work without the dot.

Now, if you don't get errors, "su" to becmoe root and do:

make

and, finally,

make install

Ok?


In the shell (i called it terminal, its the same):

Mujju 09-03-2004 08:45 PM

aiite, i got the directory created... i mean i got the file extracted, and i got Shell (Terminal) Opening up inthe right directory.. whats causing problems is the "./configure" command this is what i get when i type in "./configure" i get:
"bash: ./configure: No such file or directory"
so.. yea.. dunno why thats not working. and the "make" comamnd is giving me this:
"
cp rar unrar /usr/local/bin
cp: cannot create regular file '/usr/local/bin/rar' : Read-only file system
cp: cannot create regular file '/usr/local/bin/unrar' : Read-only file system
make: *** [install] Error1
"
and i get the same error with the "make install" command
so basically, i passed the un-rarring of the winrar application.. but cant get it to install :confused:
can i use the program "tar" that comes with knoppix to create rars? (trying to think if i can get by without installing winrar)
Any idea why that ./configure command doesnt wanna work? looks like thats the problem atm.. maybe theres more to it... dunno
-Mujju

bruno buys 09-03-2004 08:59 PM

Post here the link to download this package, so I can take a look at it.
Also, if you are running knoppix, you should be able to open a console, and, as root, do:

apt-get install package

Where "package" is the name of the software to be installed. Apt-get is the almighty utility to manage packages under debian based systems. Learn about it, and you'll never more want to run any other system.


By the way: can't you compress these files using any other technique? i mean, there are compressing tools under linux, not rar, but others. Under kde, you can right click and do "Compress files..." works ok, also.

gcampos2 09-26-2004 04:50 PM

linux rar
 
i downloaded the rar from rarsoft. in the file there are not configure file.

the file doesnt work???

XavierP 09-26-2004 05:04 PM

Is there a file called INSTALL or README? That will normally have the install instructions available. I have to say though, I have never installed a program to the Knoppix cd - it's a live cd and so nothing is written to your hard drive.

Komakino 09-26-2004 05:21 PM

Oh for goodness sake...and I say that because a bit of searching would save these problems.
IIRC rar is distributed as a binary, all you need to do is open the tar.gz file containing the binary and stick it somewhere in your path... /usr/local/bin is a good bet. Then all you need to do is type 'rar' or 'unrar' to use it.

But more to the point, why are you trying to do this? Why do you want to email things to yourself? If all you want are files from your windows partition then you can just mount the partition and access it (and all the files on it) from linux.

Your homework is to search this site (hint: mount windows partition, mount fat32 partition...) to find out how.

It's usually best to explain why you're trying to do something...linux can do a great many things a great deal simpler than windows.

Sloppyunderfoot 11-14-2004 03:47 PM

Winrar Woes
 
I, too am having big probs with RAR. It's sitting in the following directory home/sloppyunderfoot/rarlinux/rar Opening this directory shows me a file named unrar

When I check out the properties it tells me application/x-executable
At first I thought that this was a Windows executable but right now I'm not so sure.

No idea how to execute this file, if it is executable. I've read all the information regarding winrar in the information posted here. I feel like I'm missing a very significant concept.

I'd like to be able to unrar a file which contains a pdf file.

I'm using Fedora Core 3

Can anyone help? Thanks


All times are GMT -5. The time now is 05:05 AM.