Install Perl Module SOP

From ESS-WIKI
Revision as of 04:53, 15 February 2017 by Eric.liang (talk | contribs)
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

on 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

on Ubuntu 14.04

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