Difference between revisions of "Install Perl Module SOP"

From ESS-WIKI
Jump to: navigation, search
(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...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
How to Install Persistent::Memory module with Perl &nbsp;
+
== How to Install Persistent::Memory module with Perl &nbsp; ==
  
#
 
 
Enter interactive mode by running
 
Enter interactive mode by running
 
<pre>$ perl -MCPAN -e shell
 
<pre>$ perl -MCPAN -e shell
 
</pre>
 
</pre>
  
#
 
 
download&nbsp;<code>Persistent::Memory</code>&nbsp;module
 
download&nbsp;<code>Persistent::Memory</code>&nbsp;module
 
<pre>cpan[1]> get Persistent::Memory
 
<pre>cpan[1]> get Persistent::Memory
 
</pre>
 
</pre>
  
#
 
 
make&nbsp;<code>Persistent::Memory</code>&nbsp;module
 
make&nbsp;<code>Persistent::Memory</code>&nbsp;module
 
<pre>cpan[2]> make Persistent::Memory
 
<pre>cpan[2]> make Persistent::Memory
 
</pre>
 
</pre>
  
#
 
 
test&nbsp;<code>Persistent::Memory</code>&nbsp;module
 
test&nbsp;<code>Persistent::Memory</code>&nbsp;module
 
<pre>cpan[3]> test Persistent::Memory
 
<pre>cpan[3]> test Persistent::Memory
 
</pre>
 
</pre>
  
#
 
 
install&nbsp;<code>Persistent::Memory</code>&nbsp;module
 
install&nbsp;<code>Persistent::Memory</code>&nbsp;module
 
<pre>cpan[4]> install Persistent::Memory</pre>
 
<pre>cpan[4]> install Persistent::Memory</pre>
 +
 +
== Install XML:Simple ==
 +
 +
<span style="font-size:larger;">'''Ubuntu 16.04'''</span>
 +
 +
&nbsp; &nbsp;$ perl -MCPAN -e shell<br/>&nbsp; &nbsp;$ cpan[1]> get XML::Simple<br/>&nbsp; &nbsp;$ cpan[2]> make XML::Simple<br/>&nbsp; &nbsp;$ cpan[3]> test XML::Simple<br/>&nbsp; &nbsp;$ cpan[4]> install XML::Simple
 +
 +
<span style="font-size:larger;">'''Ubuntu 14.04'''</span>
 +
 +
sudo apt-get install -y&nbsp;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