On Mon, 23 Jun 2003 03:40:03 +0000, [EMAIL PROTECTED] (Mario Kulka) wrote: >Could anyone give me step by tep instructions on how to install a perl >module (MD5) on my host server. How come they don't have it installed? Isn't >popular enough? > >Sorry if I sent the same message for the second time, but the prvious one >doesn't came through on my list.
There are 2 different MD5 modules available: one has a compiled component, and one is pure perl. You probably want the pure perl version, Digest-Perl-MD5-1.5. On most servers, users don't get access to a c compiler, so you won't be able to compile the "preferred and faster" MD5 module. So this is what you do. 1. Get the pure perl MD5 module Digest-Perl-MD5-1.5 from http://cpan.org 2. Since it is pure perl, all you should need to do is install it on your local machine, then upload the MD5.pm to your homedir on the server, and put it somewhere like "/home/yourname/perl5lib/MD5.pm" 3. Then in your .bashrc put a line export PERL5LIB='/home/yourname/perl5lib' Now you can say "use MD5.pm" at the top of your scripts. There are other ways to do it, but that is the simplest. You can upload the whole tgz package to your homedir, and actually install it in your homedir, you just specify your install path to be /home/yourname as explained in the install docs. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]