Re: installing progs from source on CentOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.
See http://www.gnu.org/philosophy/no-word-attachments.html
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

Attachment: pgppi2mCvD7WN.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux