Total Pageviews

Friday, February 23, 2007

How to install a Perl module on Debian Linux

Just in case you want to install Perl modules on a Debian Linux system:

Search for modules Tk and Curses:

apt-cache search Tk | grep perl
apt-cache search Curses | grep perl


Install the found packages:

apt-get install perl-tk
apt-get install libcurses-perl


List all Perl modules:

dpkg -l 'lib*-perl'


or:

egrep '^Package: lib[a-z-]+-perl' /var/lib/dpkg/available