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.
Hi all, this is obviously the best place for me to be at the moment.
I am a systems admin guy and very comfortable with all things Microsoft, so to try Linux has been interesting. I am trying Linux mainly to get with all the hype and see what it's all about and also because I believe it will benefit my career being fluent in both OS's.
That said, can someone please tell me how the heck I install software??? I have tried for days but can't seem to get the hang of it.
I am running Mandrake 9.2 which is the distro I am most comfortable with.
The package I want to install is a network packet sniffer/analyser. It is called "linuxarm.tar.gz" (also, can someone please explain to me the extensions of .tar and .gz and what their oposites would be in Windows). When click on this icon it opens and I can see some stuff there that doesn't make too much sense.
I feel really dumb at the moment, especially seeing as I am a MS expert, so please go easy on me and be patient. In time the penny with drop and I will suddenly "get it".
Also *.tar extention mean it is an archive. *.tar.gz is a compressed archive. the command I gave you prevents you from having to run gunzip creating the archive and the tar the directory. If you follow the stucture you won't wind up with extra directories that you don't need. It does it in one step. the output of one is passed directly to the input of the next step.
1. "linuxarm.tar.gz" this file has been compressed with a program called Gunsip and a program called tar. I use the following CLI command to extract it
tar zxvf linuxarm.tar.gz
the switches zxvf can be found by typing "tar --help"
This file however looks to me like it's some kind of program for an ARM processor for like a sharp Zaurus. At least that's what I find when I google for it.
Any time you download a program that has been compressed with tar or gunzip it usually is source code and you have to compile it. and normally the provider of that file gives instructions on doing this, again it's done at the command prompt. an earlier post gave you instructions on getting a terminal window opened to do this.
One of the other replies to your post suggests you installing an RPM package. This is the program precompiled and the binary files packaged as an RPM file. Mandrake uses RPM packages for it's primary software management system. The primary tool for managing software packages in Mandrake is called "urpmi". In mandrake you can use urpmi from the command prompt or use the GUI software package management system, this can be found under the menu "Configuration -> Packaging".
The nice thing about urpmi is that it will find software packages and updates for you on the internet. It will also resolve any softwre dependencies for you and install them as well. if you go to the web site easy urpmi it will give you instructions on configuring urpmi sources so the GUI can find software for you on the net.
2. I would suggest you at least start your linux adventure at This site
I'll give it a try as well to explain how things go...
At first you must understand that installing things on linux usually happen from the command line. To get one you need a terminal (e.g.konsole), this terminal is a bit like the command prompt under windoze. To get one push ALT+F2 and type konsole. Now a terminal opens and you can type commands.
Next you 'cd' to the directory where the *.tar.gz file is at, just like you do in dos (btw. 'dir' works under linux, but 'ls' is more often used). Then:
$> tar -zxvf <filename>.tar.gz
this will add a directory to your tree, 'cd' to that directory (it will probably be the same as your filename without .tar.gz):
$> cd <directory>
The package you downloaded is source code so you have to compile it. To compile source code, you need to build a config-file for your system (this contains things like what kind of processor you have,etc.). This is all done by a script called configure. So you type:
then the actual compile:
To install the program you just installed, you have to be root. There is a way to become root without logging out, just type:
a password will be asked, you type the root password. Now you have root permissions and you're able to install the program by typing:
$> make install
Just push CTRL+D or type exit and you are back a normal user. Then type the command to start the application (e.g. if you installed smb4k-0.3.1 it will probably be smb4k). Actually, most of this is explained in the 'README', a file that came with your package.
This is an explanation for most packages, some packages don't follow this path, in that case you just read the README-file and all will become clear.
Oh and another thing, if you have mandrake, try to avoid source packages, use packages with extention .rmp, these can be handled by the package manager, all you have to do then is double click on it. Still I hope you start using the command line, that's were Linux gets its real power.
much luck and if there are still questions, just post them...
OK, getting further, the last couple of posts really helped...thanks. However, I still can't get this darn thing to install. I know I might be pushing my luck, but I am hoping someone might have the time to have a look at this package and then see if you can give me a step by step on how to install it...
For the keyboard i think , try to change the keyboard layout type (US BR etc..) This should help.
be carefull if you have used special characters in the root password though as these characters change when you change keyboards ( Trust me as a new user it was a small mission at the time for me to find the special character that i needed to log in as root
suggest changing root password to something simple first with only letters.
If you look under the rpm package installer Ethereal actually comes on the disk1 i think , it also has the graphical frontend.
Have a look through all the packages that are available to you, you will be quite suprised at how many things arnt installed.
This was what I told you earlier, try installing rpms instead of source code. It can be terrible because of dependencies, but often it installes like a breez. Still it doesn't hurt if you're able to compile from source, since there are a lot of packages that require it.
Oh, I forgot to mention that the graphic tool for installing packages in mandrake is urpmi, try it from the command line some time. It has quit some features, you can add sources, so you won't need your cd's and can download and install packages of the net with just typing
$> urpmi <packagename>
or if you don't excactly know the name
$> urpmi --fuzzy <packagename>