| 1 |
INSTALL |
| 2 |
|
| 3 |
perl Build.PL |
| 4 |
./Build |
| 5 |
./Build test |
| 6 |
./Build install (as root to install system-wide) |
| 7 |
|
| 8 |
To install to a different directory (if you're not root, for example), |
| 9 |
use the |
| 10 |
|
| 11 |
--install_path lib=~/lib/perl |
| 12 |
|
| 13 |
and/or |
| 14 |
|
| 15 |
--install_path libdoc=~/man/man3 |
| 16 |
|
| 17 |
options to the install step. The above paths are just examples. |
| 18 |
See the Module::Build documentation for more information. |
| 19 |
|
| 20 |
INSTALLATION USING MAKEFILE |
| 21 |
|
| 22 |
You may also install via the usual make incantation: |
| 23 |
|
| 24 |
perl Makefile.PL |
| 25 |
make |
| 26 |
make test |
| 27 |
make install |
| 28 |
|
| 29 |
To install to a different directory (if you're not root, for example), |
| 30 |
use the |
| 31 |
|
| 32 |
PREFIX=~/lib/perl |
| 33 |
|
| 34 |
option to the install step. The above path is just an example. |
| 35 |
|
| 36 |
|