Installation instructions for PICA
==================================

Dependencies
------------

For that purposes, you need some Perl modules, namely:

	- Data::Dumper
	- Parse::Yapp
	- GetOpt::Long
	- File::Copy
	- File::Path
	- File::Basename
	- File::Find

Go get 'em in CPAN. (In fact, all of them should come with your standard Perl
distribution, except Parse::Yapp... but you only need this for PICA
development, not for using it.)

	If you want to use the PIFIA (that is, for *persistent* alarms to
work), you'll need MLDBM.

	In addition to these Perl modules, you'll need SSH (always) and tar,
diff and rsync, depending on the features you want.

Installation
------------

To install PICA by hand, just copy:

	- The three configuration files (hosts.conf, objects.conf and
	  pica.conf) to /etc/pica,
	- The Perl modules (config.pm, hosts.pm, objects.pm, picagroups.pm and
	  user.pm) to /var/lib/pica, or whatever you put in the $picadir
	  variable (in the file named pica).
	- The src directory to /var/lib/pica (or whatever you specify in
	  pica.conf, picaroot directive)

and make the directory /var/lib/pica/tmp. If you want to use PIFIA, you also
need to copy:

	- The alarms directory to /var/lib/pica (or whatever you specify in
	  pica.conf, picaroot directive). In fact, you can put it wherever you
	  want, and specify your desires in picaalarms (in pica.conf).

If you don't want to install by hand, type

	make install

or get one of the packages and install it (deb or rpm).

	Happy administering!
