How to find perl module and install it under Ubuntu?
1) You have to find the package of this module.
For example, I want to install GEO::IPfree module for enable IPfree plugin in Awstats.

sudo apt-cache search perl geo::ipfree

2) It will return the package name as below:

libgeo-ipfree-perl

3) Now I can install this module by following command:

sudo apt-get install libgeo-ipfree-perl

Done.

David Yin

David is a blogger, geek, and web developer — founder of FreeInOutBoard.com. If you like his post, you can say thank you here

20 Replies to “Perl module install under Ubuntu

  1. Saved my life……!!! Had a broken perl module so Amavis wouldn’t start:

    MISSING REQUIRED BASIC MODULES

    Lines.pm

    IO::Stringy

    Wasn’t sure of the name of the module so did:

    sudo apt-cache search perl |grep stringy

    and that gave me the lib name, so I did:

    sudo apt-get install –reinstall libio-stringy-perl

    and it worked!!!

  2. Saved my life……!!! Had a broken perl module so Amavis wouldn’t start:

    MISSING REQUIRED BASIC MODULES

    Lines.pm

    IO::Stringy

    Wasn’t sure of the name of the module so did:

    sudo apt-cache search perl |grep stringy

    and that gave me the lib name, so I did:

    sudo apt-get install –reinstall libio-stringy-perl

    and it worked!!!

  3. And what does one do if the search returns nothing? I’m trying to install Net::SMTP::Multipart which doesn’t return anything with the above method.

  4. Your post was extremely helpful in resolving a problem I had with installing a Perl application. Thank you very much for posting this solution, I will definitely share your information with my friends. Awesome work!

Leave a Reply

Your email address will not be published. Required fields are marked *