I can install perlbase-cpan and when I then add perlbase-unicore (the dependencies are not properly reflected in the packages) I do not have a cpan-script, but I can run
perl -MCPAN -e shell
However:
CPAN.pm requires configuration, but most of it can be done automatical
+ly.
If you answer 'no' below, you will enter an interactive dialog for eac
+h
configuration option instead.
Would you like to configure as much as possible automatically? [yes] y
+es
<install_help>
Warning: You do not have write permission for Perl library directories
+.
To install modules, you need to configure a local Perl library directo
+ry or
escalate your privileges. CPAN can help you by bootstrapping the loca
+l::lib
module or by configuring itself to use 'sudo' (if available). You may
+ also
resolve this problem manually if you need to customize your setup.
What approach do you want? (Choose 'local::lib', 'sudo' or 'manual')
[local::lib]
Autoconfiguration complete.
Attempting to bootstrap local::lib...
Writing /home/mh/.cpan/CPAN/MyConfig.pm for bootstrap...
commit: wrote '/home/mh/.cpan/CPAN/MyConfig.pm'
Fetching with LWP:
http://www.cpan.org/authors/01mailrc.txt.gz
Reading '/home/mh/.cpan/sources/authors/01mailrc.txt.gz'
......................................................................
+......DONE
Fetching with LWP:
http://www.cpan.org/modules/02packages.details.txt.gz
Reading '/home/mh/.cpan/sources/modules/02packages.details.txt.gz'
Out of memory!
Killed