Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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
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
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:
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.
(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:
In the shell (i called it terminal, its the same):
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
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.
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.
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.