[Techtalk] installing Perl modules?

Hemingway, Neil neil.hemingway at barclays.co.uk
Tue Jul 30 13:58:35 EST 2002


Hi,

	does anyone have any experience of setting up either the CPAN module
or Activestate's PPM to use a local repository as their source?  Although
we are primarily an NT shop, perl use is growing.  We need some way of
simply
delivering modules to a large array of machines without having to know about
the innards of perl/site/lib and auto etc.

Ta, Neil

-----Original Message-----
From: Linda [mailto:illini.engineer at att.net]
Sent: 30 July 2002 12:56
To: techtalk at linuxchix.org
Subject: Re: [Techtalk] installing Perl modules?


On 29 Jul 2002, at 23:06, Raven Alder wrote:

> Heya --
> 
> Quoth Linda (Mon, Jul 29, 2002 at 10:00:20PM -0400):
> > I have RH7.0 installed. I'd like to install two Perl modules DBI and 
> > DBD::mysql   which are not installed.
> > 
> > I know that these modules are on CPAN but that's all I know.
> > How do I go about installing these modules?  Oh, this laptop with 
> > RH7.0 does not have internet access in case that makes a 
> > difference.
> 
> 	Yep, it does.  If you don't have Internet access from the
> laptop, you'll have to download the modules from CPAN, get them onto the
> laptop somehow, and then install them manually.  There's a handy Perl
> module called CPAN.pm that you may want to look into for your systems
> that are online.  It automates the process of downloading and installing
> Perl modules from a mirror close to you.  I'm fond of it.  
> 
> 	Instructions for downloading and installing Perl modules
> manually can be found on the CPAN website at:
> 
> http://www.cpan.org/modules/INSTALL.html
> 
> 	Since you can't download directly from the Internet, you'll have
> to download the modules you want, and then put them on a CD or floppy
> (or push 'em across the network if you have a local LAN but no Internet
> access) to install on your laptop.  
> 
> 	Once you have the files on the local machine, put them in the
> directory that you want to unpack them in, un-tar and un-zip them (they
> usually come in .tar.gz form, so "tar -xvzf NameOfModule.tar.gz" will do
> the unpacking for you), and then type the following commands:
> 
> perl Makefile.PL
> make
> make test
> make install
> 
> Depending on the permissions on your system, you may have to be root to
> do that last bit.
> 
> 	Hope that helps!
> 
> Cheers,
> Raven

Aha, thanks!

It wasn't as painful as I thought it would be. Now, onward to Perl 
and Mysql. Wish me luck. 

Linda
_______________________________________________
Techtalk mailing list
Techtalk at linuxchix.org
http://mailman.linuxchix.org/mailman/listinfo/techtalk


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


Internet communications are not secure and therefore the Barclays Group
does not accept legal responsibility for the contents of this message.
Although the Barclays Group operates anti-virus programmes, it does not
accept responsibility for any damage whatsoever that is caused by
viruses being passed.  Any views or opinions presented are solely those
of the author and do not necessarily represent those of the Barclays
Group.  Replies to this email may be monitored by the Barclays Group
for operational or business reasons.




More information about the Techtalk mailing list