| 1 |
|
| 2 |
------------ |
| 3 |
Installation |
| 4 |
------------ |
| 5 |
|
| 6 |
To install the script and man pages in the standard areas, |
| 7 |
give the sequence of commands |
| 8 |
|
| 9 |
perl Makefile.PL |
| 10 |
make |
| 11 |
make test |
| 12 |
make install # you probably need to do this step as superuser |
| 13 |
|
| 14 |
If you want to install the script in your own private space, use |
| 15 |
|
| 16 |
perl Makefile.PL PREFIX=/home/joeuser |
| 17 |
INSTALLMAN1DIR=/home/joeuser/man/man1 |
| 18 |
INSTALLMAN3DIR=/home/joeuser/man/man3 |
| 19 |
make |
| 20 |
make test |
| 21 |
make install # can do this step as joeuser |
| 22 |
|
| 23 |
Note that `make test` does nothing interesting. |
| 24 |
|
| 25 |
-------------- |
| 26 |
Uninstallation |
| 27 |
-------------- |
| 28 |
|
| 29 |
Under a user with sufficient permissions and from the program |
| 30 |
distribution directory, execute |
| 31 |
|
| 32 |
perl Makefile.PL |
| 33 |
|
| 34 |
if there isn't a file called Makefile. Then execute |
| 35 |
|
| 36 |
make uninstall |
| 37 |
|
| 38 |
This sometimes works, and sometimes it does not. If it refuses to work, |
| 39 |
you can simply remove all files by hand. Look for the .packlist file |
| 40 |
which perl created when installing the software and remove all files you |
| 41 |
find in there. |
| 42 |
|