LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-14-2003, 01:02 PM   #1
Mr_T_Fool
LQ Newbie
 
Registered: Jul 2003
Location: Toronto
Distribution: RedHat 9
Posts: 14

Rep: Reputation: 0
Linux Newb


OK, ive had redhat 9 for about a day now and i dont know how to install programs after i take them out of the tar.gz thing they go into thier own folder but theres no like exe or whatever, how do i install them ????
 
Old 07-14-2003, 01:46 PM   #2
Zoombie
Member
 
Registered: Jul 2003
Distribution: Debian Testing
Posts: 180

Rep: Reputation: 30
Installation on Linux is very different than installation on Windows. If you're trying to install a tarball, chances are you have some source code on your hands. This means you need to compile. Generally, this means you untar the thing, go inside the directory, and type:
Code:
./configure
make
And, as root:
Code:
make install
There's a lot of documentation on this stuff, but...in short...
configure tries to guess certain things about your system that will be used in the install (locations of libraries, etc), and it also lets you specify some compile options. The README or INSTALL files usually contain info on what to tell configure. Typing
Code:
./configure --help
will also give you useful stuff. make actually compiles the program, and make install puts all the binaries/man pages/etc in the appropriate places. Good luck.
 
Old 07-14-2003, 03:58 PM   #3
Mr_T_Fool
LQ Newbie
 
Registered: Jul 2003
Location: Toronto
Distribution: RedHat 9
Posts: 14

Original Poster
Rep: Reputation: 0
Shit, i tried the code and it dosnt work. I am the root too


wtf do i do??

BTW, im trying to install Apollon 0.8 and i can't find the RPM for it either
 
Old 07-14-2003, 04:17 PM   #4
Mr_T_Fool
LQ Newbie
 
Registered: Jul 2003
Location: Toronto
Distribution: RedHat 9
Posts: 14

Original Poster
Rep: Reputation: 0
[pat@x1-6-00-40-f4-2c-41-70 pat]$ cd apollon-0.8
[pat@x1-6-00-40-f4-2c-41-70 apollon-0.8]$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
[pat@x1-6-00-40-f4-2c-41-70 apollon-0.8]$ make install
make: *** No rule to make target `install'. Stop.
[pat@x1-6-00-40-f4-2c-41-70 apollon-0.8]$
 
Old 07-14-2003, 04:26 PM   #5
Zoombie
Member
 
Registered: Jul 2003
Distribution: Debian Testing
Posts: 180

Rep: Reputation: 30
That error means that you didn't install any compilers. There should be RedHat packages for application development - those should work. You won't be able to install any source-based programs until you have a compiler.
 
Old 07-14-2003, 04:45 PM   #6
Mr_T_Fool
LQ Newbie
 
Registered: Jul 2003
Location: Toronto
Distribution: RedHat 9
Posts: 14

Original Poster
Rep: Reputation: 0
How do i take a compiler off the CD ?
 
Old 07-14-2003, 05:14 PM   #7
Zoombie
Member
 
Registered: Jul 2003
Distribution: Debian Testing
Posts: 180

Rep: Reputation: 30
I'm not a RedHat user, but most RPM-based distros (RedHat, Mandrake, etc) have package/software management. It should be on your menu somewhere...is there a RedHat control center?
 
Old 07-14-2003, 05:16 PM   #8
Mr_T_Fool
LQ Newbie
 
Registered: Jul 2003
Location: Toronto
Distribution: RedHat 9
Posts: 14

Original Poster
Rep: Reputation: 0
ya...
 
Old 07-15-2003, 03:28 PM   #9
ranger12002
Member
 
Registered: Jun 2003
Location: miami florida
Distribution: slackware 9.0
Posts: 128

Rep: Reputation: 15
theres usually a readme file after you unzip them read that and most of the time itll tell you what to do
 
  


Reply



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
Suse Newb: Not Linux Newb rodericj SUSE / openSUSE 9 03-25-2005 10:03 AM
linux newb..... xaniphus Linux - Newbie 1 11-01-2004 07:44 AM
linux newb needs help!!!!!! col.kowalski Linux - Networking 4 09-11-2004 11:51 PM
The first step to ascending newb status, acknowledging you're a newb :P LordRaven LinuxQuestions.org Member Intro 1 08-24-2004 05:05 PM
<-- newb to linux need a little help Rukahs Linux - Games 8 03-02-2004 08:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:43 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
Open Source Consulting | Domain Registration