Jump to content

MINC/Tutorials/InstallingPerl

From Wikibooks, open books for an open world

The base MINC package and a number of the extra packages use a few PERL modules that are not installed on many systems by default. The most common of these are mni_perllib and Getopt::Tabular. You can get mni_perllib from here:

  http://packages.bic.mni.mcgill.ca/tgz/mni_perllib-xxxx.tar.gz

Other PERL modules can be downloaded from CPAN

  http://www.cpan.org

Step 1: Download the packages you need

Step 2: untar them

  $ tar zxvf mni_perllib-xxxx.tar.gz

Step 3: enter the directory

  $ cd mni_perllib_xxxx

Step 4: use Perl to make the real Makefile

  $ perl Makefile.PL

Step 5: build the package

  $ make

Step 6: Install it

  $ sudo make install