Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: best way to install modules in your home directory?

by moritz (Cardinal)
on May 25, 2008 at 19:59 UTC ( #688434=note: print w/replies, xml ) Need Help??


in reply to best way to install modules in your home directory?

The first half of your problem can be solved by not using sudo, but really become root (su -). Then root will use his own home directory.

An even better solution is not to install anything with cpan directly, but build a package that is native to your operating system. For Debian dh-make-perl is really useful, and very good usable in Testing (aka Lenny), I'm sure there are similar utilities for other distributions and Unixes (for example cpan2dist from CPANPLUS).

Replies are listed 'Best First'.
Re^2: best way to install modules in your home directory?
by pvbcharon (Beadle) on May 27, 2008 at 06:56 UTC
    Gentoo has g-cpan (http://www.gentoo.org/proj/en/perl/g-cpan.xml) which takes a CPAN package and wraps an ebuild around it. Thus all packages installed that way are manageable via portage.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://688434]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2021-10-26 08:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (90 votes). Check out past polls.

    Notices?