LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   file extension help (https://www.linuxquestions.org/questions/linux-newbie-8/file-extension-help-42323/)

Netrack 01-21-2003 04:31 PM

file extension help
 
i just downloaded, guardog for linux becasue i dont want to deal with iptables yet, the file is a .tar.gz... how do i install this, i realised you have to extract it, but to any location? and once extracted how do i install.

I have RH8
in Gnome


thanks

Netrack 01-21-2003 04:41 PM

i type this in run

/root/guarddog-2.0.0/configure

and my hardrive does run for a lil bit then stops... does that mean anythin

acid_kewpie 01-21-2003 04:49 PM

*PLEASE* learn to use the search facilities to help you get more out of this site and faster.

http://www.linuxquestions.org/questi...der=descending

bulliver 01-21-2003 04:51 PM

just type "tar -xzf guarddog.tar.gz" and that will extract it. Of course replace guarddog with whatever the file is actually called. the 'x' extracts the file, the 'z' uncompresses .gz files (you would use 'j' for bz2 files) and the 'f' simply points to the file.This should create a directory. cd into the directory, and read the README or INSTALL for installation instructions...

Netrack 01-21-2003 05:27 PM

ok im getting some where, im getting this far,: (please excuse the length)
.....
uarddog-2.0.0/INSTALL
guarddog-2.0.0/ChangeLog
guarddog-2.0.0/COPYING
[root@localhost root]# guarddog-2.0.0/admin/install-sh
install: no input file specified
[root@localhost root]# guarddog-2.0.0/INSTALL
bash: guarddog-2.0.0/INSTALL: Permission denied
[root@localhost root]# [root@localhost root]# guarddog-2.0.0/INSTALL
bash: [root@localhost: command not found
[root@localhost root]# bash: guarddog-2.0.0/INSTALL: Permission denied
bash: bash:: command not found
[root@localhost root]# [root@localhost root]#
bash: [root@localhost: command not found
[root@localhost root]# chmod 777 INSTALL
chmod: failed to get attributes of `INSTALL': No such file or directory
[root@localhost root]# chmod 777
chmod: too few arguments
Try `chmod --help' for more information.
You have new mail in /var/spool/mail/root
[root@localhost root]# chmod 777 guarddog-2.0.0/INSTALL
[root@localhost root]#

acid_kewpie 01-21-2003 05:49 PM

you are clearly having problems with very basic shell usage, i'd suggest buying a linux newbie book and reading some guides online.

bulliver 01-21-2003 05:50 PM

Yeah, uh, looks like you are in the /root directory. Try to cd into the guarddog directory that was created when you extracted it. Then from inside there...do as the instructions ask...looks like you have an install script, so you would run:
./install-sh

EDIT: yeah I think acids right, you are doing some strange stuff there...read a newbie guide to get comfortable with the shell. For instance you are trying to execute a text file. Use a pager like 'less' to read the README...ie: "less README" else you can use cat ie: "cat README".

But you are not going to get anything done here until you get your basics down....

Netrack 01-21-2003 07:31 PM

Quote:

Originally posted by acid_kewpie
you are clearly having problems with very basic shell usage, i'd suggest buying a linux newbie book and reading some guides online.

not a bad idea, as you can tell i have had linux installed for a short amount of time, im just looking to get familar with it...


what books would you reccomend?

stickman 01-21-2003 08:35 PM

Quote:

Originally posted by Netrack
[root@localhost root]# chmod 777 guarddog-2.0.0/INSTALL
[root@localhost root]#

I would also recommend reading the INSTALL file rather than attempting to chmoding and executing it.

MasterC 01-21-2003 08:53 PM

Quote:

Originally posted by Netrack
not a bad idea, as you can tell i have had linux installed for a short amount of time, im just looking to get familar with it...


what books would you reccomend?

First off, check out the tutorial over at www.linux.org It will teach you some very basic command line usage, and a slight bit of basic linux knowledge. Then click on a few of my links in my sig, read up on those. Also, I don't think this is in Chris's sig anymore, it's a great read though:
http://home.online.no/%7Erut-aane/linux.html

Definitely check that out.

As for books, I'm sure others will have some recommendations, but a search will show you alot! ;)

Cool


All times are GMT -5. The time now is 01:03 PM.