Using CPAN with a proxy failing after o conf init /proxy/

后端 未结 4 492
灰色年华
灰色年华 2020-12-14 19:14

I have a Linux box in a corporate environment in which web access is gated through a proxy which requires authentication.

During a first run of cpan it auto configu

4条回答
  •  难免孤独
    2020-12-14 19:57

    Install LWP. The cpan utility is using curl, I guess because it couldn't load LWP. No proxy parameters are being passed to curl, so you need the export http_proxy=http://host:port/ before running the command.

    Or, if you can install LWP using your distribution's package manager, then it should configure the proxy access correctly.

提交回复
热议问题