in reply to Installing perl modules on remote server

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/...)


  • Replies are listed 'Best First'.
    Re: Re: Installing perl modules on remote server
    by bradcathey (Prior) on Dec 09, 2003 at 01:33 UTC
      Roger, thanks for this tidy chart. I vote that you turn this into a Q&A or add it to Tutorials. I'm not familiar enough with installing modules to know if there are more iterations, but what I see here looks very helpful.

      —Brad
      "A little yeast leavens the whole dough."
        Hi bradcathey, thanks. ;-) But I would certainly wait a bit longer to see what other more experienced monks think about remote module installation first.

        By the way, tachyon (another Australian? :-D) has written an excellent guide on module installation earlier - A Guide to Installing Modules. I recommend you to read it if you haven't.