I am trying to install config server firewall however when i follow the tutorial and run install.sh i get the following error. Can anyone help?

root@localhost:~/csf# sh install.sh

Configuring for OS

Running csf generic installer

Installing generic csf and lfd

Check we're running as root

Checking Perl modules...
Can't locate LWP/UserAgent.pm in @INC (@INC contains: /etc/csf /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl .) at (eval 22) line 2.
BEGIN failed--compilation aborted at (eval 22) line 2.
Configuration modified for Debian/Ubuntu/Gentoo settings /etc/csf/csf.conf

You need to install the missing perl modules and then install cxs

Im running Linux localhost 3.2.0-1-amd64 #1 SMP Tue Jan 24 05:01:45 UTC 2012 x86_64 GNU/Linux Debian 6

1 Answer 1


You need to install libwww-perl.

sudo aptitude install libwww-perl


sudo perl -MCPAN -e 'install Bundle::LWP'


wget http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-6.04.tar.gz
tar xzf libwww-perl-6.04.tar.gz
cd libwww-perl-6.04
perl Makefile.PL
sudo make install
  • Done :) Yea i just had to wait 5 minutes before i could mark as accepted.
    – h00j
    May 22, 2012 at 8:51

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .