Installation instructions

Installation using the provided setup script

  1. Unpack the file you downloaded. 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 ActivePerl 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 users should open their favorite terminal go to the PsN-Source directory and type:

    perl setup.pl

  3. Answer the questions on screen. The default is probably the best for most users. If you cannot install PsN where the install script suggests and you wish to use PsN in your own perl scripts, you must make sure that the directory where you installed the PsN core and toolkit is in Perl's include path. For convenience you should also check that the directory where the utilities are installed is in your search path.

  4. Edit the configuration file psn.conf to make PsN aware your NONMEM installation. Detailed instructions are found in the document psn_configuration.pdf in the doc subdirectory of PsN-Source. If you accept the default options in the PsN setup script, psn.conf is usually found in:

For windows:
C:\Perl\site\lib\PsN_version_number\

For Linux or Macintosh:
/usr/local/lib/perl5/site_perl/perl_version/PsN_version_number/
or
/usr/lib/perl5/site_perl/perl_version/PsN_version_number/

  1. When the installation is done you can safely remove the PsN-Source directory if you like.

Manual installation

As of version 2.2 we strongly encourage use of the installation script, it is stable and should work fine for most people. Should it fail for you, or have problems with installing an older PsN version, please contact us.