Can't install CPAN on Debian etch
I'm having trouble installing CPAN so I can use it install Perl modules. I tried to install using apt-get, but the system didn't find any versions. Next, I downloaded the CPAN.pm source and tried to build it, but I can't get past the perl Makefile.PL step. It's looking for ExtUtils/MakeMaker.pm in @INC, but can't find it in the @INC array. I tried downloading the source for ExtUtils/MakeMaker, but it wouldn't build either.
Any thoughts?
- Chris Morgan
3 Replies
The second thought is that CPAN is a standard part of the perl distribution; try 'man cpan'.
Many thanks! As it turns out, I just installed a group of programs, following the suggestions in the "perfect Setup" tutorial for Debian Etch at
– and now the cpan module is working from my terminal! It must have been enabled in the process. As you note, cpan is part of the standard Perl distribution, but for some reason, it wouldn't launch earlier. But I may just use apt-get for most, if not all, of my Perl modules, instead of cpan.
I didn't know about the 'apt-cache search' command, which is a very good thing indeed! Many thanks for the help. I'm enjoying apt-get a lot more than RedHat rpms (:->)
- Chris
perl -MCPAN -e 'shell'