There are many ways to install perl modules. The following are a few methods I use often -

Login TypePackage TypePossible Action
SSH, telnet, Unix, no internet access from serverSource Packagescp or ftp source package (*.tar.gz) onto remote server, then unpack in a work directory -
tar -zxvf pkg.tar.gz

Change into the package directory and
make Makefile.PL make make install make test
SSH, telnet, Windows, no internet access from serverBinary Package (ppm)scp or ftp the ppm package onto remote server, set ppm repository to point to work directory on remote server, and ppm --install package. Be sure to read the ppm documentation on ActiveState website here
SSH, telnet, Windows, has internet on remote serverBinary Package (ppm)Log onto the remote server and ppm --install package.
SSH, telnet, Unix or Windows, Remote server has no compilerSource Package with XS components Install package by hand -
  • Compile the source package on local machine first (assume of the same architecture)
  • 'Tar' up the compiled binaries
  • ftp/scp onto the remote server
  • Log onto the remote server and unpack the package
  • make install on the remote server (or drop the perl .pm files under perl/site/lib, and XS binaries under perl/lib/auto/...)



  • In reply to Re: Installing perl modules on remote server by Roger
    in thread Installing perl modules on remote server by Anonymous Monk

    Title:
    Use:  <p> text here (a paragraph) </p>
    and:  <code> code here </code>
    to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.