Difference between revisions of "Install Perl Module SOP"
From ESS-WIKI
Eric.liang (talk | contribs) |
Eric.liang (talk | contribs) |
||
Line 1: | Line 1: | ||
== How to Install Persistent::Memory module with Perl == | == How to Install Persistent::Memory module with Perl == | ||
− | |||
Enter interactive mode by running | Enter interactive mode by running | ||
<pre>$ perl -MCPAN -e shell | <pre>$ perl -MCPAN -e shell | ||
</pre> | </pre> | ||
− | |||
download <code>Persistent::Memory</code> module | download <code>Persistent::Memory</code> module | ||
<pre>cpan[1]> get Persistent::Memory | <pre>cpan[1]> get Persistent::Memory | ||
</pre> | </pre> | ||
− | |||
make <code>Persistent::Memory</code> module | make <code>Persistent::Memory</code> module | ||
<pre>cpan[2]> make Persistent::Memory | <pre>cpan[2]> make Persistent::Memory | ||
</pre> | </pre> | ||
− | |||
test <code>Persistent::Memory</code> module | test <code>Persistent::Memory</code> module | ||
<pre>cpan[3]> test Persistent::Memory | <pre>cpan[3]> test Persistent::Memory | ||
</pre> | </pre> | ||
− | |||
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 | + | == Install XML:Simple == |
− | + | <span style="font-size:larger;">'''Ubuntu 16.04'''</span> | |
$ 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 | $ 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 | ||
− | + | <span style="font-size:larger;">'''Ubuntu 14.04'''</span> | |
sudo apt-get install -y libxml-simple-perl | sudo apt-get install -y libxml-simple-perl |
Latest revision as of 03:18, 21 April 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
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