TurnKey Linux Virtual Appliance Library

LAMP how to install additional perl modules

hans_1's picture

Well the subject says it all...

How can I add additional perl modules......

Should this be done by the webmin interface ?

or should I do this manually by using : perl -MCPAN -e shell



Liraz Siri's picture

Both will work but the package management system is preferable

You can install many commonly used Perl modules through the package management system. Over a thousand I think. Here's a list:
apt-cache search perl|grep ^lib
The benefit of installing via the package manager is you get updates. In case you're not familiar with APT (advanced packaging tool), there's a howto in the documentation.

CPAN has a much wider breadth though, so if a Perl module hasn't been packaged you can always use that.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)