Questions tagged [minicpan]

9 questions
6
votes
1 answer

How do I use cpanminus with a local CPAN::Mini?

I've created my own local copy of CPAN with minicpan and managed to reconfigure cpan to use it - Fantastic! ..but how would I go about using it with cpanminus?
Hugh
  • 1,431
  • 2
  • 16
  • 30
4
votes
1 answer

Install modules from minicpan with Carton

I've had success getting cpanm to install from a minicpan mirror with cpanm --mirror ~/.minicpan --mirror-only Module::Name But I can't figure out how to do the same with Carton. I'd like to be able to just carton install when I'm offline / on a…
phillipadsmith
  • 364
  • 2
  • 13
4
votes
3 answers

How can I exclude a module from a minicpan repository?

I have a local MINICPAN repository, but I want to remove a specific version of a module, and inject an older version. This is the steps I've taken. - create the MINICPAN, not filtering any modules - use mcpani --add for the module in question - use…
Matthew Watson
  • 14,083
  • 9
  • 62
  • 82
4
votes
1 answer

How do I tell CPAN.pm to use an application-specific mini-cpan?

Is there a way to use app-specific mini-CPANs (to ensure specific module versions for different apps and make an install work without net access). The 'standard' mini-cpan way of things relies on setting 'o conf urllist' with a file url in your…
sidler
  • 123
  • 1
  • 7
3
votes
3 answers

Building a local CPAN repository

I wonder if there are any options in Perl to build a local CPAN repository including the modules I want and then redistribute it with Perl distribution and then do not need to access CPAN at all. If yes, could some me show an example? I looked on…
user3019319
  • 326
  • 3
  • 9
2
votes
1 answer

CPAN::Mini::Inject doesnt update 03modlist.data.gz

I have an intention of creating a empty local CPAN directory, and then inject the modules i need with the right version numbers. So, i create a CPAN structure with CPAN::Mini like this: my $local = '/tmp/CPAN'; my $minicpan =…
Joakim
  • 510
  • 4
  • 10
2
votes
0 answers

Is it possible to add multiple versions of a module to a minicpan index?

I'm setting up a CPAN::Mini mirror and I want to be able to download multiple versions of modules from the mirror. How do I get it to index more that the latest version of modules I inject: $ mcpani -v --add --module Foo --authorid DUMMY…
j1n3l0
  • 517
  • 4
  • 16
2
votes
1 answer

How to automate module installation from a local MiniCPAN repository?

Having problems getting CPAN to work with a MiniCPAN repository from within a script (aim is a code deployment system to build local modules together with modules from CPAN, install to a local-lib, and then sync out to…
plusplus
  • 1,992
  • 15
  • 22
0
votes
1 answer

problems with CPAN::Tarzip running on a MiniCPAN mirror

I created a local repository with minicpan in a Linux box, and then moved it to a Windows that has no access to online CPAN. But I'm getting this error messages when I try to use it: cpan> install PowerBuilder::ORCA Reading…
m0skit0
  • 25,268
  • 11
  • 79
  • 127