[za-pm] perl on server, where to install modules for local use

Anne Wainwright anotheranne at fables.co.za
Thu Jul 18 05:00:58 PDT 2013


Hello, Shlomi,

see below

On Thu, Jul 18, 2013 at 11:07:34AM +0300, Shlomi Fish wrote:
> Note: Beware! Default reply-to is to the list.
> 
> 
> Hi Ian,
> 
> On Thu, 18 Jul 2013 09:58:29 +0200
> Anne Wainwright <anotheranne at fables.co.za> wrote:
> 
> > Note: Beware! Default reply-to is to the list.
> > 
> > 
> > Hi there,
> > 
> > A simple question here - but then you know my knowledge is limited!
> > 
> > I do my development work on my laptop, it has a local installation of
> > perl.
> > 
> > The current script that I am developing is to run on my (ubuntu) server
> > from my home account. I will need to install several modules for this.
> > 
> > Question. Do I use cpan as root  or can I just fire up $ cpan from my
> > home account  and install them?
> 
> It depends on what you want to do. You can use something like local-lib
> ( https://metacpan.org/release/local-lib ) to install modules under your home
> directory - only for your current user. If you use cpan as root, then it may
> install files all over the filesystem, and thus - may pollute it. You can also
> try to package these CPAN distributions as Ubuntu packages. See what I wrote
> about all that here:
> 
> http://perl-begin.org/topics/cpan/
> 
> Regards,
> 
> 	Shlomi Fish

Thank you, Shlomi. That of course is what I had to have done to use
local perl on my development machine. So local-lib also on the server then.

Your site is looking great, lots of interesting stuff on there. The w3m
browser shows it well. 

Anne

> 
> > 
> > many thanks
> > Ian
> > _______________________________________________
> > Za-pm mailing list
> > Za-pm at pm.org
> > http://mail.pm.org/mailman/listinfo/za-pm
> > 
> > posts also archived on Mail Archive
> > http://www.mail-archive.com/za-pm@pm.org/
> 
> 
> 
> -- 
> -----------------------------------------------------------------
> Shlomi Fish       http://www.shlomifish.org/
> First stop for Perl beginners - http://perl-begin.org/
> 
> Yesterday I asked one of my students if she knew what an encyclopedia is, and
> she said: “Is it something like Wikipedia?”.
>http://twitter.com/alisonclement/status/8421314259
> 
> Please reply to list if it's a mailing list post - http://shlom.in/reply .
> _______________________________________________
> Za-pm mailing list
> Za-pm at pm.org
> http://mail.pm.org/mailman/listinfo/za-pm
> 
> posts also archived on Mail Archive
> http://www.mail-archive.com/za-pm@pm.org/


More information about the Za-pm mailing list