Note: Beware! Default reply-to is to the list.

Hi Ian,

On Thu, 18 Jul 2013 09:58:29 +0200
Anne Wainwright <anothera...@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

> 
> many thanks
> Ian
> _______________________________________________
> Za-pm mailing list
> Za-pm@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@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/

Reply via email to