in reply to Installing supporting modules for DBI
I am not root, how can I install a module in a personal directory?Update: Naturally, this is going under the assumption that you're using the CPAN shell (just run "cpan" if it's been installed correctly, or do "perl -MCPAN -e shell" as another poster mentions. The CPAN man page explains all of this, and I'm sure you're already familiar with how this works or you wouldn't know enough to try and install it using CPAN in the first place.You will most probably like something like this:
You can make this setting permanent like all o conf settings with o conf commit.o conf makepl_arg "LIB=~/myperl/lib \ INSTALLMAN1DIR=~/myperl/man/man1 \ INSTALLMAN3DIR=~/myperl/man/man3" install Sybase::SybperlYou will have to add ~/myperl/man to the MANPATH environment variable and also tell your perl programs to look into ~/myperl/lib, e.g. by including
or setting the PERL5LIB environment variable.use lib "$ENV{HOME}/myperl/lib";Another thing you should bear in mind is that the UNINST parameter should never be set if you are not root.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Installing supporting modules for DBI
by Anonymous Monk on Sep 15, 2000 at 18:38 UTC | |
by Billy (Novice) on Sep 15, 2000 at 18:46 UTC |