[CentOS] installing progs from source on CentOS
garrick at usc.edu
Sun Jul 1 17:31:59 UTC 2007
On Sun, Jul 01, 2007 at 09:58:02AM -0700, Rogelio Bastardo alleged:
> I'd like to install NagiosQL on CentOS, but I don't see a yum package
> for it, so I'm going to download the source code.
> If I download it, where in CentOS's file system (i.e. in which
> directory) is the best place to untar, compile, and run it?
Download it to your home directory (or a subdir), untar and build it as
yourself (not root!), and su -c "make install".
For more complicated programs, I like to use
--prefix=/usr/local/$pkgname/$pkgversion so all of its files are easily
contained. Then I create that directory, chown it to me, run 'make
install' as me, and chown it all to root afterwards.
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California
Please avoid sending me Word or PowerPoint attachments.
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.centos.org/pipermail/centos/attachments/20070701/1b91b138/attachment.bin
More information about the CentOS