Install Perl Module SOP

From ESS-WIKI
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