Install Perl Module SOP

From ESS-WIKI
Revision as of 03:18, 21 April 2017 by Eric.liang (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How to Install Persistent::Memory module with Perl  

Enter interactive mode by running

$ perl -MCPAN -e shell

download Persistent::Memory module

cpan[1]> get Persistent::Memory

make Persistent::Memory module

cpan[2]> make Persistent::Memory

test Persistent::Memory module

cpan[3]> test Persistent::Memory

install Persistent::Memory module

cpan[4]> install Persistent::Memory

Install XML:Simple

Ubuntu 16.04

   $ perl -MCPAN -e shell
   $ cpan[1]> get XML::Simple
   $ cpan[2]> make XML::Simple
   $ cpan[3]> test XML::Simple
   $ cpan[4]> install XML::Simple

Ubuntu 14.04

sudo apt-get install -y libxml-simple-perl