Click to See Complete Forum and Search --> : Help I'm a newbie. pleez help me


DjZ2001
04-18-2001, 03:56 PM
Ok how do I install programs??? so far I can only install rpm's what about those ones that you extract and get these files. what do you do next?? pleez help. Thank you in advance.

ph34r
04-18-2001, 04:07 PM
If you get a .tgz or .tar.gz or .tar.bz2 file, you need to unzip and then untar it. Once that is done, there should be a readme or install file that has the info you need for that particular package in it.

EyesWideOpen
04-18-2001, 04:08 PM
Originally posted by DjZ2001:
<STRONG>what about those ones that you extract and get these files. what do you do next??</STRONG>

I assume you are talking about files that end in .tar or .gz or .tar.gz. These files are called tar files, zipped (or tar-gz'ed or gzipped) files and archives (somewhat) respectively.

(You may know this but it's worth mentioning) To extract these files you use utilities such as tar and gunzip.

To extract a tar file (.tar) do tar -xvf filename.tar where filename.tar is the name of the tar file.

To extract a gzipped file (.gz) do gunzip filename.gz where filename.gz is the name of the gzipped file.

To extract an archive file (.tar.gz) do either tar -xvzf filename.tar.gz or gunzip -c filename.tar.gz | tar xvf -.

Once you have them extracted you should read the readme file (usually called README) and then the INSTALL file (if there is one). These will tell you what you need to know about installing the necessary files in all the necessary places.

Disclaimer: This is by no means an exhaustive source of info on the topic and should be treated as such. Just some info from one newbie to another ;) .

[ 18 April 2001: Message edited by: EyesWideOpen ]

DjZ2001
04-18-2001, 04:19 PM
ok hmm here's what I did.
[root@DjZ /root]# cd apache_1.3.9
[root@DjZ apache_1.3.9]# ./configure --prefix=PREFIX
Configuring for Apache, Version 1.3.9
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Linux platform
Error: could not find any of these C compilers
anywhere in your PATH: gcc cc acc c89
Configure terminated

what do I do????????

linuxluis
04-18-2001, 04:32 PM
Ok i see your having trouble with one of the compiliers. on your cd that you installed linux from you should have a rpm folder in there. fine a rpm called gcc --something.

just type it in this way

# rpm -ihv gc &lt;hit table twice and you will see the file or files you need.

Good luck if you need more help hit me up

tux :cool:

EyesWideOpen
04-18-2001, 04:41 PM
Originally posted by DjZ2001:
<STRONG>[root@DjZ apache_1.3.9]# ./configure --prefix=PREFIX</STRONG>

You shouldn't actually type the word PREFIX but put a path to a directory that you want to install Apache in instead (i.e., --prefix=/home/DjZ/Apache}.

<STRONG>Error: could not find any of these C compilers
anywhere in your PATH: gcc cc acc c89</STRONG>

What distrobution of Linux are you using?
What do you get if you type which gcc?