1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
####################################
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
|