Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm just wondering if anyone can tell me how you install the following perl modules on debiab :

install LWP
install DBI
install DBD::mysql
install GD

I tried with CPAN although when I ran

perl -MCPAN -e shell
install LWP

It was telling me I missing destination file operand.

Any idea?

share|improve this question
up vote 6 down vote accepted

Normally this is done without CPAN but with the Debian repositories. So

apt-get install libwww-perl libdbi-perl libdbd-mysql-perl libgd-gd2-perl

Then you are done and even get security patches.

share|improve this answer
For me, only libwww-perl was necessary. – Mike Apr 13 '15 at 22:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.