Installing on Unix

From DNSSEC-Tools
Jump to: navigation, search

To build by hand on a UNIX system you need to perform two steps:

  1. Install pre-requisite software and perl modules
  2. Install the DNSSEC-Tools software itself

Installing CPAN Modules

Perl distributes it's optional modules through the Comprehensive Perl Archive Network (CPAN) system. All recent copies of perl have a built in mechanism to help find and install those modules. To install these needed modules, run the following commands as root:

 perl -MCPAN -e "install 'Date::Parse'"
 perl -MCPAN -e "install 'Net::DNS'"
 perl -MCPAN -e "install 'Net::DNS::SEC'"

You may wish to Install the Optional PERL Modules as well, but it is not required.

Building and Installing DNSSEC-Tools

To compile the DNSSEC-Tools package from source, you'll need to perform the following steps:

  • Get the latest source code
  • gtar xzf dnssec-tools-*.tar.gz
  • cd dnssec-tools-*
  • ./configure
  • make
  • make install

Once installed you may need to modify your run time load path to ensure that it includes the /usr/local/lib directory in it's library search path.