LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-06-2004, 10:39 PM   #1
cmackay
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Rep: Reputation: 0
Totally New, need help installing stuff...


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".

Thanks....
 
Old 01-06-2004, 10:49 PM   #2
asalford
Member
 
Registered: Nov 2003
Location: NC, USA
Distribution: unbuntu breazy
Posts: 142

Rep: Reputation: 15
Thumbs up

You are correct about a great number of things. Linux is powerful. The amazing part is that linux is more powerful that windows and people donate their time.

The command that you seek to open the package is

gunzip -c PACKAGE | tar xvf -

You will need to open a CLI window which is under system tools ----> terminal

Typically when you compile that package you should consider ./configure as a user login as root and follow the rest of the README.

If you continue to have trouble message me back & I will try to help. Also, try this link:

http://en.tldp.org for documentation on every aspect of linux.
 
Old 01-06-2004, 10:52 PM   #3
asalford
Member
 
Registered: Nov 2003
Location: NC, USA
Distribution: unbuntu breazy
Posts: 142

Rep: Reputation: 15
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.
 
Old 01-06-2004, 11:18 PM   #4
Lost Penguin
Member
 
Registered: Feb 2003
Location: Orlando, FL
Distribution: 2.6.1-1.131smp on Fedora Core 1
Posts: 31

Rep: Reputation: 15
Use RPMs

Mandrake has a RPM tool
here is a link:
http://urpmi.org/easyurpmi/
You should also checkout the Penguin Liberation Front <G>
A Mandrake add-on site, for packages Mandrake is unable to put in their distribution
http://plf.zarb.org/packages.php

Enjoy....
 
Old 01-07-2004, 12:05 AM   #5
cmackay
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Sorry, but none of that makes much sense to me. I am working here in a totally GUI environment. All I have is the program on my desktop and I can't figure out how to install it. Very frustrated.
 
Old 01-07-2004, 04:00 AM   #6
brew1brew
Member
 
Registered: Jul 2003
Location: Plano TX (north of Dallas)
Distribution: Kubuntu
Posts: 165

Rep: Reputation: 30
where to start? ??

OK,

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
 
Old 01-07-2004, 04:23 AM   #7
BarryRadio
LQ Newbie
 
Registered: Jan 2004
Posts: 17

Rep: Reputation: 0
you asked for a windows equivalent, well that would be winzip, btw i maybe newer than you, an i cant install things either, just read background info at the mo
 
Old 01-07-2004, 05:38 AM   #8
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

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

$> ./configure

then the actual compile:

$> make

To install the program you just installed, you have to be root. There is a way to become root without logging out, just type:

$> su

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...
 
Old 01-07-2004, 06:09 AM   #9
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
I think a linux equivalent of WinZip might be "Ark".
 
Old 01-07-2004, 10:45 AM   #10
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
yes, ark, file-roller,...

on the command line tar usually does the trick.

Learn the command line, you'll be gratefully when you know it.
 
Old 01-07-2004, 04:10 PM   #11
cmackay
LQ Newbie
 
Registered: Jan 2004
Posts: 7

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

www.ethereal.com

Also, when I am in the console mode, I cannot use the backspace key? Strange, but I have to hit the back arrow, then the delete key. Any ideas?
 
Old 01-07-2004, 04:28 PM   #12
synapse
Member
 
Registered: Jan 2004
Location: On Planet Earth.
Distribution: Slackware 12
Posts: 244

Rep: Reputation: 30
Hi

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.

Anyway , i hope this helps a little
cheers
 
Old 01-07-2004, 04:42 PM   #13
cmackay
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Original Poster
Rep: Reputation: 0
No THAT was easy...who would have thought that it was already on the Mandrake CD. I have it installed and running in less than 2 minutes. Thanks.

Now I just have to figure out how to use it to capture specific port information...hmmm.....

Thanks everyone for being patient with me on this one. I will be posting again soon :-)
 
Old 01-07-2004, 11:39 PM   #14
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
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.

good luck with your linux adventures
 
Old 01-07-2004, 11:45 PM   #15
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

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

it really is a great tool, look at this site for more info: http://urpmi.org/easyurpmi/index.php
 
  


Reply


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
Totally new and need help installing cegha Slackware 8 10-01-2008 03:12 PM
installing stuff danielwong Linux - Newbie 4 05-10-2005 12:19 PM
Installing stuff KF1 Linux - General 10 04-30-2005 10:48 AM
When installing new stuff in suse 9.1, do you uninstall old stuff first? randon SUSE / openSUSE 1 12-25-2004 04:37 PM
Totally bugged up on installing Epson Printer WhiteTornado Linux - Hardware 1 08-24-2003 05:22 PM


All times are GMT -5. The time now is 08:59 PM.

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