• Home
  • Big Brother
  • UNIX/Linux
    • How To
  • Windows
  • Contact us

UNIX/Linux How To


Install Perl (CPAN) modules *NIX
Set date/time






Installing Perl modules - UNIX/Linux

I use the perl command to install modules from CPAN in the following manner:

  • From a command prompt execute the following:

    # perl -MCPAN -e shell

    That command will invoke the cpan shell and you can execute:

    cpan> install Net::SNMP

    Replace Net::SNMP with whatever module you want to install. After that, follow the prompts and install all other requisite modules until the installation completes.

    Typing "exit" at the cpan> prompt will exit from the shell.

    TOP

    Set date/time - UNIX/Linux

    Solaris
    # date 112016132009
    Fri Nov 20 16:13:00 PST 2009

    RedHat
    # date -s "24 MAY 2010 1344"
    Fri Nov 20 16:13:00 PST 2009

    TOP


  • UNIX/Linux