| 1 |
|
| 2 |
If the perl CPAN module is installed and working, you can install |
| 3 |
Statistics::LineFit using: |
| 4 |
|
| 5 |
perl -MCPAN -e "install Statistics::LineFit" |
| 6 |
|
| 7 |
Otherwise, download the tar file from CPAN (see search.cpan.org) and proceed |
| 8 |
as follows: |
| 9 |
|
| 10 |
UNIX / LINUX / CYGWIN |
| 11 |
|
| 12 |
Unbundle the tar file using a command like: |
| 13 |
|
| 14 |
gunzip -c Statistics-LineFit-0.01.tar.gz | tar xvf - |
| 15 |
|
| 16 |
Then cd to the Statistics-LineFit-0.01 directory and do: |
| 17 |
|
| 18 |
perl Makefile.PL |
| 19 |
make |
| 20 |
make test |
| 21 |
make install |
| 22 |
|
| 23 |
If you want to install the module in a directory other than the default |
| 24 |
location, use something like: |
| 25 |
|
| 26 |
perl Makefile.PL PREFIX=/home/mydir/perl LIB=/home/mydir/perl/lib |
| 27 |
|
| 28 |
WINDOWS |
| 29 |
|
| 30 |
The above commands will also work from within a Cygwin window on Windows. |
| 31 |
Otherwise, unbundle the tar file using a freeware archive program like |
| 32 |
PowerArchiver and use 'nmake' rather than 'make'. |
| 33 |
|
| 34 |
MACINTOSH, OS 370, VMS, etc. |
| 35 |
|
| 36 |
If Perl is installed you will be able to install this module, but I'm not |
| 37 |
sure of the exact commands needed. The installation steps will be similar |
| 38 |
to the above sequence. |
| 39 |
|