Difference between revisions of "How to install Perl and BioPerl"

From Biolecture.org
imported>Seung-hoon Kim
imported>Seung-hoon Kim
 
Line 16: Line 16:
  
 
<p><span style="background-color:rgb(255,255,255); color:rgb(36,39,41)">1.&nbsp;Go to the Github (</span><a href="https://github.com/bioperl/bioperl-live">https://github.com/bioperl/bioperl-live</a>) and press the <code>Download ZIP</code> button.</p>
 
<p><span style="background-color:rgb(255,255,255); color:rgb(36,39,41)">1.&nbsp;Go to the Github (</span><a href="https://github.com/bioperl/bioperl-live">https://github.com/bioperl/bioperl-live</a>) and press the <code>Download ZIP</code> button.</p>
 +
 +
<p><img alt="" src="/ckfinder/userfiles/images/GutHub.PNG" style="height:728px; width:1349px" /></p>
 +
 +
<p>&nbsp;</p>
  
 
<p>2) Extract the archive in the normal way.</p>
 
<p>2) Extract the archive in the normal way.</p>
  
 
<p>3) In a cmd window <code>cd</code> to the directory you extracted to. Eg. if you extracted to directory &lsquo;bioperl-live&rsquo;, <code>cd bioperl-live</code></p>
 
<p>3) In a cmd window <code>cd</code> to the directory you extracted to. Eg. if you extracted to directory &lsquo;bioperl-live&rsquo;, <code>cd bioperl-live</code></p>
 +
 +
<p><img alt="" src="/ckfinder/userfiles/images/ppm_bioperl.PNG" style="height:589px; width:1360px" /></p>
 +
 +
<p>&nbsp;</p>
 +
 +
<p>&nbsp;</p>
  
 
<p>4) Type <code>perl Build.PL</code> and answer the questions appropriately.</p>
 
<p>4) Type <code>perl Build.PL</code> and answer the questions appropriately.</p>
  
<p>5) Type <code>perl Build test</code>. All the tests should pass, but if they don&rsquo;t, <a href="https://github.com/bioperl/bioperl-live/issues">let us know</a>. Your usage of Bioperl may not be affected by the failure, so you can choose to continue anyway.</p>
+
<p><img alt="" src="/ckfinder/userfiles/images/bioperl_install.PNG" style="height:481px; width:669px" /></p>
 +
 
 +
<p>5) Type <code>perl Build test</code>. All the tests should pass. Your usage of Bioperl may not be affected by the failure, so you can choose to continue anyway.</p>
  
 
<p>6) Type <code>perl Build install</code> to install Bioperl.</p>
 
<p>6) Type <code>perl Build install</code> to install Bioperl.</p>

Latest revision as of 12:39, 16 June 2016

You can download perl program according to your OS from this website: https://www.perl.org/get.html

For Windows user,

there are 2 kinds of perl program

1. Active perl

2. Strawberry perl

If you're more Linux/Unix oriented and want something that feels very similar on Windows, go with Strawberry Perl. If you are using Perl as a Win32 solution, go with ActiveState1)

 

In case of Active perl, to install bioperl2)

1. Go to the Github (https://github.com/bioperl/bioperl-live) and press the Download ZIP button.

 

2) Extract the archive in the normal way.

3) In a cmd window cd to the directory you extracted to. Eg. if you extracted to directory ‘bioperl-live’, cd bioperl-live

 

 

4) Type perl Build.PL and answer the questions appropriately.

5) Type perl Build test. All the tests should pass. Your usage of Bioperl may not be affected by the failure, so you can choose to continue anyway.

6) Type perl Build install to install Bioperl.

 

Reference

1) http://stackoverflow.com/questions/14185560/how-can-i-install-perl-on-windows-8

2) http://bioperl.org/INSTALL.WIN.html