Difference between revisions of "Install Perl Module SOP"
From ESS-WIKI
Eric.liang (talk | contribs) (Created page with "How to Install Persistent::Memory module with Perl # Enter interactive mode by running <pre>$ perl -MCPAN -e shell </pre> # download <code>Persistent::Memory</co...") |
Eric.liang (talk | contribs) |
||
Line 1: | Line 1: | ||
− | How to Install Persistent::Memory module with Perl | + | == How to Install Persistent::Memory module with Perl == |
# | # | ||
Line 24: | Line 24: | ||
install <code>Persistent::Memory</code> module | install <code>Persistent::Memory</code> module | ||
<pre>cpan[4]> install Persistent::Memory</pre> | <pre>cpan[4]> install Persistent::Memory</pre> | ||
+ | |||
+ | Install XML:Simple | ||
+ | |||
+ | on Ubuntu 16.04 | ||
+ | |||
+ | $ perl -MCPAN -e shell<br/> $ cpan[1]> get XML::Simple<br/> $ cpan[2]> make XML::Simple<br/> $ cpan[3]> test XML::Simple<br/> $ cpan[4]> install XML::Simple | ||
+ | |||
+ | on Ubuntu 14.04 | ||
+ | |||
+ | sudo apt-get install -y libxml-simple-perl |
Revision as of 03:53, 15 February 2017
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