paperlined.org
dev > perl > cpan > local_mirror
document updated 4 months ago, on Dec 5, 2023

To quickly get started with your own mirror

  1. install CPAN::Mini, and use its cmdline tool to download a mirror:

        minicpan -l ~minicpan/mirror/
    
  2. to search those files, download and use this tool: https://github.com/DeeNewcum/individual_scripts/blob/master/cpan_mirror/cpan_grep.pl

Size estimation

Before downloading a mirror, you might want to get an estimate of how much disk space CPAN currently takes, since it's always expanding.

TODO