Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to force cpanm to use HTTPS insted of Using HTTP for installing dependencies

Tags:

perl

cpanm

Hi I am trying to install perl modules using cpanm.But my firewall is not letting the cpanm to use http. Even when I am forcing it to use https using the --mirror option, its still uses http to install the dependencies. How can i force cpanm to use only https://mirror-address .

Perl Version 5.16.3
Cpanm Version 1.6922
like image 744
Pratheesh Avatar asked Feb 17 '26 18:02

Pratheesh


1 Answers

From the documentation:

cpanm --from https://cpan.metacpan.org/ Plack    # use only the HTTPS mirror
like image 154
Steffen Ullrich Avatar answered Feb 21 '26 12:02

Steffen Ullrich



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!