####################################
PBNJ 2.0 UNIX Install Directions
####################################


Quick Install - simply run from this directory

To Install PBNJ Properly ( make sure you have the needed deps)
    
perl Makefile.PL
make
make test     
** Then as root **
make install 


You will need to install the following modules for PBNJ 2.0 to work
   YAML
   DBI
   DBD::SQLite
   XML::Twig
   Nmap::Parser
   File::Which
   Text::CSV_XS
   File::HomeDir
   
Also, you will need Nmap (any version will do)

If you are running Ubuntu, I suggest you use the packages whenever
possible.

NOTE * you will need to add the universe repo 

Also, Nmap::Parser and File::HomeDir are not packaged yet.

sudo apt-get install \
libyaml-perl         \
libdbi-perl          \
libdbd-sqlite3-perl  \
libxml-twig-perl     \
libtext-csv-perl     \
libfile-which-perl   

    
If you are running FreeBSD here are the packages:

pkg_add -r p5-DBI          ( /usr/ports/databases/p5-DBI/       )
pkg_add -r p5-YAML         ( /usr/ports/textproc/p5-YAML/       )
pkg_add -r p5-DBD-SQLite   ( /usr/ports/databases/p5-DBD-SQLite )
pkg_add -r p5-XML-Twig     ( /usr/ports/textproc/p5-XML-Twig/   )
pkg_add -r p5-Text-CSV_XS  ( /usr/ports/textproc/p5-Text-CSV_XS )
pkg_add -r p5-File-Which   ( /usr/ports/sysutils/p5-File-Which  )
pkg_add -r p5-Nmap-Parser  ( /usr/ports/security/p5-Nmap-Parser )
pkg_add -r p5-File-HomeDir ( /usr/port/devel/p5-File-HomeDir    )
    
To install a module using CPAN

$ sudo cpan

   # make sure you have the latest version of CPAN installed
   cpan>  install CPAN
   cpan>  install Bundle::CPAN
   # then when you see the cpan> prompt type install and the name of
   # the module
   cpan>  install Nmap::Parser
   
   cpan>  install File::HomeDir

