Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-03-2004, 05:15 PM   #1
LQ Newbie
Registered: Sep 2004
Posts: 4

Rep: Reputation: 0
Unhappy 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

Last edited by Mujju; 09-03-2004 at 05:22 PM.
Old 09-03-2004, 05:26 PM   #2
bruno buys
Senior Member
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

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


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


this will compile the program.

then, to install the compiled program on your system:

make install

Post again if you get stuck.
Old 09-03-2004, 05:58 PM   #3
LQ Newbie
Registered: Sep 2004
Posts: 4

Original Poster
Rep: Reputation: 0
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

Last edited by Mujju; 09-03-2004 at 05:59 PM.
Old 09-03-2004, 06:07 PM   #4
Registered: Aug 2004
Posts: 51

Rep: Reputation: 15
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.
Old 09-03-2004, 07:06 PM   #5
bruno buys
Senior Member
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
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
(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:


and, finally,

make install


In the shell (i called it terminal, its the same):
Old 09-03-2004, 09:45 PM   #6
LQ Newbie
Registered: Sep 2004
Posts: 4

Original Poster
Rep: Reputation: 0
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
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
Old 09-03-2004, 09:59 PM   #7
bruno buys
Senior Member
Registered: Sep 2003
Location: Rio
Distribution: Debian
Posts: 1,509

Rep: Reputation: 46
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.
Old 09-26-2004, 05:50 PM   #8
LQ Newbie
Registered: Jul 2004
Location: Chile
Distribution: Ubuntu
Posts: 7

Rep: Reputation: 0
linux rar

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

the file doesnt work???
Old 09-26-2004, 06:04 PM   #9
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 474Reputation: 474Reputation: 474Reputation: 474Reputation: 474
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.
Old 09-26-2004, 06:21 PM   #10
Senior Member
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
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.
Old 11-14-2004, 04:47 PM   #11
Registered: Nov 2004
Location: Maine, USA, North America, Western Hemisphere, Earth, Milky Way Galaxy
Distribution: SUSE10
Posts: 61

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


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
WinRar Cronjob fmv020 Linux - Software 1 06-30-2005 09:50 PM
winrar in fedora ailstyn Linux - Newbie 2 02-09-2005 09:16 PM
winrar or zip owldbartle Linux - Newbie 10 11-16-2004 01:48 AM
WinRAR on Linux WarlockofVirgo Linux - Security 2 08-07-2004 11:03 PM
winrar with wine Rachid Boukhari Linux - Software 0 09-10-2001 06:41 AM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration