1 2This is the Perl distribution Sys-Sendfile. 3 4Installing Sys-Sendfile is straightforward. 5 6## Installation with cpanm 7 8If you have cpanm, you only need one line: 9 10 % cpanm Sys::Sendfile 11 12If you are installing into a system-wide directory, you may need to pass the 13"-S" flag to cpanm, which uses sudo to install the module: 14 15 % cpanm -S Sys::Sendfile 16 17## Installing with the CPAN shell 18 19Alternatively, if your CPAN shell is set up, you should just be able to do: 20 21 % cpan Sys::Sendfile 22 23## Manual installation 24 25As a last resort, you can manually install it. Download the tarball, untar it, 26then build it: 27 28 % perl Build.PL 29 % ./Build && ./Build test 30 31Then install it: 32 33 % ./Build install 34 35If you are installing into a system-wide directory, you may need to run: 36 37 % sudo ./Build install 38 39## Documentation 40 41Sys-Sendfile documentation is available as POD. 42You can run perldoc from a shell to read the documentation: 43 44 % perldoc Sys::Sendfile 45