Installation instructions

Before you install PsN, you should make sure that the following programs/modules are installed on your computer.

Installing Perl modules

You must have internet access for the installation procedure to work.

Windows (Strawberry Perl)

  1. Start a DOS command window.
  2. Run the following commands (hit Enter after each command):
    cpan Math::Random
    cpan Statistics::Distributions
    cpan MooseX::Params::Validate

Windows (ActivePerl)

  1. Start a DOS command window.
  2. Run the following commands (hit Enter after each command):
    ppm install math-random
    ppm install statistics-distributions
    ppm install archive-zip
    ppm install file-copy-recursive
    ppm install moosex-params-validate

Linux/Unix/MacOS

You might need to answer some questions interactively when using the cpan command.
  1. Start a command window.
  2. Run the following commands (hit Enter after each command), prepend sudo if necessary:
    cpan Math::Random
    cpan Statistics::Distributions
    cpan Archive::Zip
    cpan File::Copy::Recursive
    cpan Storable
    cpan Moose
    cpan MooseX::Params::Validate

PsN installation

  1. Unpack the file you downloaded from psn.sf.net. It will create a directory called PsN-Source.

  2. Run the installation script from within PsN-Source. If you are running windows and have ActiveState Perl installed you should be able to double-click on setup.pl. Otherwise open a command line window (Windows Start->Run, type 'cmd'), go to the PsN-Source directory and type:

    perl setup.pl

    Unix/Mac users should open their favorite terminal, cd to the PsN-Source directory and type:

    sudo perl setup.pl

    sudo can be skipped if you already have write permissions in the installation directories you intend to use.

  3. Read all messages carefully and answer the questions on screen. The default is probably the best for most users, except on Mac Os. It is recommended to let the installation script automatically create psn.conf.
  4. If you did not let the installation script create a configuration file psn.conf for you, or if you are running NONMEM via NMQual or on a cluster, you need to edit psn.conf in the PsN installation directory. The document psn_configuration.pdf in PsN-Source/doc describes how to make correct settings in the psn.conf file. The document is also found on the PsN website under Documentation.
  5. When the installation is done you can safely remove the PsN-Source directory.