How can I install a perl module without a root authority?

How can I install a perl module without a root authority?

am 16.08.2011 18:02:30 von universe sheep

--20cf3079bc5ec0f81304aaa18143
Content-Type: text/plain; charset=ISO-8859-1

Without a root permission, I can't install perl module through normal way
such as CPAN. But I have to use this module(XML::Quote).
I have tried to copy the .pm file to my own lib directory directly, but it
says "can't locate loadable perl module ".

Is there any other way to install perl modules without a root authority?

Thanks.

--20cf3079bc5ec0f81304aaa18143--

Re: How can I install a perl module without a root authority?

am 16.08.2011 18:08:24 von oleber

Look to local::lib in http://search.cpan.org/~apeiron/local-lib/lib/local/lib.pm

On Tue, Aug 16, 2011 at 18:02, universe sheep wrote:
> Without a root permission, I can't install perl module through normal way
> such as CPAN. But I have to use this module(XML::Quote).
> I have tried to copy the .pm file to my own lib directory directly, but it
> says "can't locate loadable perl module ".
>
> Is there any other way to install perl modules without a root authority?
>
> Thanks.
>



--
Marcos Rebelo
http://www.oleber.com/
Webmaster of http://perl5notebook.oleber.com

--
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/

Re: How can I install a perl module without a root authority?

am 16.08.2011 18:18:07 von Wernher Eksteen

--0016364c7ea39f4e1e04aaa1b918
Content-Type: text/plain; charset=ISO-8859-1

If you can justify the need for it and the importance thereof, surely your
Linux/Unix Admin can install it
for you or provide you with the necessary sudo access so you can do it
yourself. That probably
depends on various factors, ie if that's a production system, if change
control needs to take place,
if the security policy allows it etc etc...

Otherwise you will need to localise things to your account using local:lib

Good luck

On 16 August 2011 18:02, universe sheep wrote:

> Without a root permission, I can't install perl module through normal way
> such as CPAN. But I have to use this module(XML::Quote).
> I have tried to copy the .pm file to my own lib directory directly, but it
> says "can't locate loadable perl module ".
>
> Is there any other way to install perl modules without a root authority?
>
> Thanks.
>

--0016364c7ea39f4e1e04aaa1b918--

Re: How can I install a perl module without a root authority?

am 16.08.2011 19:26:12 von universe sheep

--20cf3079bc5e1fb21904aaa2adea
Content-Type: text/plain; charset=ISO-8859-1

The problem is :admin is not in now.

2011/8/17 Wernher Eksteen

> If you can justify the need for it and the importance thereof, surely your
> Linux/Unix Admin can install it
> for you or provide you with the necessary sudo access so you can do it
> yourself. That probably
> depends on various factors, ie if that's a production system, if change
> control needs to take place,
> if the security policy allows it etc etc...
>
> Otherwise you will need to localise things to your account using local:lib
>
> Good luck
>
>
> On 16 August 2011 18:02, universe sheep wrote:
>
>> Without a root permission, I can't install perl module through normal way
>> such as CPAN. But I have to use this module(XML::Quote).
>> I have tried to copy the .pm file to my own lib directory directly, but it
>> says "can't locate loadable perl module ".
>>
>> Is there any other way to install perl modules without a root authority?
>>
>> Thanks.
>>
>
>

--20cf3079bc5e1fb21904aaa2adea--