Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Use CPAN or CPAN::Shell for LOCAL ONLY install from tarballs?

0 views
Skip to first unread message

Steve Roscio

unread,
May 9, 2008, 1:04:56 PM5/9/08
to
Howdy -

How can I use CPAN.pm or CPAN::Shell (or similar) to install modules and
their dependencies on a system, without ever going out to the net? I
will have all necessary modulewhatever.tar.gz files available on the
system. How can I point CPAN to these directories?

thanx in advance for any help!
- Steve

Steve Roscio

unread,
May 9, 2008, 1:19:28 PM5/9/08
to
Oh, to clarify further, I want to use CPAN or something similar because
of all the wonderful 'extra' stuff it gives beyond just make;make
test;make install.

Sherman Pendley

unread,
May 9, 2008, 2:52:18 PM5/9/08
to
Steve Roscio <steve....@hp.com> writes:

> How can I use CPAN.pm or CPAN::Shell (or similar) to install modules
> and their dependencies on a system, without ever going out to the net?
> I will have all necessary modulewhatever.tar.gz files available on the
> system. How can I point CPAN to these directories?

When you configure it, you're not restricted to the download URLs that
are listed. You can enter your own custom URL - just point it to a local
CPAN mirror that you maintain for yourself. If you don't want to bother
with an FTP or HTTP server, CPAN can handle a file: URL just as easily.

sherm--

--
My blog: http://shermspace.blogspot.com
Cocoa programming in Perl: http://camelbones.sourceforge.net

Steve Roscio

unread,
May 9, 2008, 5:01:00 PM5/9/08
to
Thanx Sherman! Setting the urllist to file://whatever... did the trick.
0 new messages