1This is the Perl distribution MaxMind-DB-Writer. 2 3Installing MaxMind-DB-Writer is straightforward. 4 5## Installation with cpanm 6 7If you have cpanm, you only need one line: 8 9 % cpanm MaxMind::DB::Writer 10 11If it does not have permission to install modules to the current perl, cpanm 12will automatically set up and install to a local::lib in your home directory. 13See the local::lib documentation (https://metacpan.org/pod/local::lib) for 14details on enabling it in your environment. 15 16## Installing with the CPAN shell 17 18Alternatively, if your CPAN shell is set up, you should just be able to do: 19 20 % cpan MaxMind::DB::Writer 21 22## Manual installation 23 24As a last resort, you can manually install it. Download the tarball, untar it, 25then build it: 26 27 % perl Build.PL 28 % ./Build && ./Build test 29 30Then install it: 31 32 % ./Build install 33 34Or the more portable variation: 35 36 % perl Build.PL 37 % perl Build 38 % perl Build test 39 % perl Build install 40 41If your perl is system-managed, you can create a local::lib in your home 42directory to install modules to. For details, see the local::lib documentation: 43https://metacpan.org/pod/local::lib 44 45 46The prerequisites of this distribution will also have to be installed manually. The 47prerequisites are listed in one of the files: `MYMETA.yml` or `MYMETA.json` generated 48by running the manual build process described above. 49 50## Documentation 51 52MaxMind-DB-Writer documentation is available as POD. 53You can run `perldoc` from a shell to read the documentation: 54 55 % perldoc MaxMind::DB::Writer 56For more information on installing Perl modules via CPAN, please see: 57https://www.cpan.org/modules/INSTALL.html 58