Infra_HDC icon

Setting UP a new local CPAN repo

Infra_HDC | PRO | 03/07/22 11:56:51 AM UTC (Edited) | 0 ⭐ | 515 👁️ | Never ⏰ | []
text |

370 B

|

None

|

0 👍

/

0 👎

1. sudo apt install libcpan-mini-perl
2. mkdir -p /path/to/minicpan
3. nano -w ./update-mirror-run-me.pl
#!/usr/bin/perl
use CPAN::Mini;
CPAN::Mini->update_mirror(
  remote => "https://www.cpan.org/",
  local  => "/path/to/minicpan",
  log_level => 'debug',
);
4. chmod +x ./update-mirror-run-me.pl
5. ./update-mirror-run-me.pl
6. Use of new local CPAN repo (TBD)
 

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎