| 1 |
Installing Type-Tiny-XS should be straightforward. |
| 2 |
|
| 3 |
INSTALLATION WITH CPANMINUS |
| 4 |
If you have cpanm, you only need one line: |
| 5 |
|
| 6 |
% cpanm Type::Tiny::XS |
| 7 |
|
| 8 |
If you are installing into a system-wide directory, you may need to pass |
| 9 |
the "-S" flag to cpanm, which uses sudo to install the module: |
| 10 |
|
| 11 |
% cpanm -S Type::Tiny::XS |
| 12 |
|
| 13 |
INSTALLATION WITH THE CPAN SHELL |
| 14 |
Alternatively, if your CPAN shell is set up, you should just be able to |
| 15 |
do: |
| 16 |
|
| 17 |
% cpan Type::Tiny::XS |
| 18 |
|
| 19 |
MANUAL INSTALLATION |
| 20 |
As a last resort, you can manually install it. Download the tarball and |
| 21 |
unpack it. |
| 22 |
|
| 23 |
Consult the file META.json for a list of pre-requisites. Install these |
| 24 |
first. |
| 25 |
|
| 26 |
To build Type-Tiny-XS: |
| 27 |
|
| 28 |
% perl Makefile.PL |
| 29 |
% make && make test |
| 30 |
|
| 31 |
Then install it: |
| 32 |
|
| 33 |
% make install |
| 34 |
|
| 35 |
If you are installing into a system-wide directory, you may need to run: |
| 36 |
|
| 37 |
% sudo make install |
| 38 |
|