LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (https://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   Install tar.gz under gentoo (https://www.linuxquestions.org/questions/linux-distributions-5/install-tar-gz-under-gentoo-270492/)

rookie71 12-26-2004 11:10 AM

Install tar.gz under gentoo
 
Hi

i want to install nagios 2.0. release date 12/15/2004
it is a tar.gz file.

with emerge -- pretend nagios
i only got the opertionity too install nagios1.2, but i want to install the nagios2.0.

i am testing gentoo for 1 day now, and under slackware it was no problem.
donīt know how it is under gentoo with dependies etc.. with tar.gz files.

what is the best way do get nagios 2.0 installed??

greetings
rookie71

cs-cam 12-26-2004 07:51 PM

Untar the archive then configure, make, make install?

slackMeUp 12-29-2004 08:58 PM

step one: unpack the package to a directory...

Code:

#tar -xvvzf foopackage.tar.gz
now you should have a directory named after the '.tar.gz' file... well most of the time.

step two: enter the directory, and compile some code!

Code:

#cd foopackage
#./configure
#make

At this point you should be able to run the program where it stands, compiled within the directory.
If it works the way you want it.... move to step 3. If not, then play around with compile option or add any missing libs.

step three: install it system wide...

Code:

#su
#make install
#exit




BUT

You can always see if there is a masked version in portage that you can install... Gentoo might have a 2.0 version that's masked (or hard masked for that matter).


All times are GMT -5. The time now is 10:52 PM.