{"id":11,"date":"2012-08-22T15:59:13","date_gmt":"2012-08-22T07:59:13","guid":{"rendered":"http:\/\/www.hzaumycology.com\/chenlianfu_blog\/?p=11"},"modified":"2018-01-12T23:10:31","modified_gmt":"2018-01-12T15:10:31","slug":"bioperl%e5%ae%89%e8%a3%85","status":"publish","type":"post","link":"http:\/\/www.chenlianfu.com\/?p=11","title":{"rendered":"Bioperl\u5b89\u88c5"},"content":{"rendered":"<h4>1 \u66f4\u65b0CPAN<\/h4>\n<pre style=\"padding-left: 30px;\">&gt;perl -MCPAN -e shell\r\ncpan&gt;install Bundle::CPAN\r\ncpan&gt;q<\/pre>\n<p>\u4fee\u6539CPAN\u6e90<\/p>\n<pre>\r\nperl -p -i -e \"s#urllist.*#urllist' => [q[http:\/\/mirrors.aliyun.com\/CPAN\/], q[http:\/\/mirrors.163.com\/CPAN\/]],#\" \/usr\/share\/perl5\/CPAN\/Config.pm\r\n<\/pre>\n<h4>2 \u5b89\u88c5\/\u66f4\u65b0 Module::Build\uff0c\u5e76\u8bbe\u7f6e\u4e3a\u9ed8\u8ba4\u7684\u5b89\u88c5\u5de5\u5177<\/h4>\n<pre style=\"padding-left: 30px;\">&gt;cpan\r\ncpan&gt;install Module::Build\r\ncpan&gt;o conf prefer_installer MB\r\ncpan&gt;o conf commit\r\ncpan&gt;q<\/pre>\n<h4><\/h4>\n<h4>3 \u5b89\u88c5expat library<\/h4>\n<pre style=\"padding-left: 30px;\">&gt;cpan\r\ncpan&gt;o conf makepl_arg \"EXPATLIBPATH=\/non-standard\/lib EXPATINCPATH=\/non-standard\/include\"\r\ncpan&gt;o conf commit<\/pre>\n<h4><\/h4>\n<h4>4 \u4f7f\u7528\u6700\u7b80\u6613\u7684\u65b9\u6cd5\u5b89\u88c5bioperl<\/h4>\n<h4 style=\"padding-left: 30px;\">1.\u5230http:\/\/www.bioperl.org\/wiki\/Getting_BioPerl\u4e0b\u8f7d\u6700\u65b0\u7684\u6e90\u7801\u5305<\/h4>\n<pre style=\"padding-left: 30px;\">$ wget -c http:\/\/bioperl.org\/DIST\/BioPerl-1.6.1.tar.bz2<\/pre>\n<h4 style=\"padding-left: 30px;\">2.\u89e3\u538b\u7f29\u6587\u4ef6\uff0c\u5e76\u6539\u53d8\u76ee\u5f55\u5230\u89e3\u538b\u7f29\u7684\u6587\u4ef6\u5939\u4e2d<\/h4>\n<pre style=\"padding-left: 30px;\">$ tar jxvf BioPerl-1.6.1.tar.bz2\r\n$ cd BioPerl-1.6.1<\/pre>\n<h4 style=\"padding-left: 30px;\">3.\u5b89\u88c5bioperl<\/h4>\n<pre style=\"padding-left: 30px;\">&gt;perl Build.PL\r\n&gt;.\/Build test\r\n&gt;.\/Build install \uff08\u9700\u8981\u5728perl5\/site_perl\/source\u4e2d\u6709\u5199\u6743\u9650\uff09<\/pre>\n<h4><\/h4>\n<h4>5 \u4f7f\u7528CPAN shell\u6765\u5b89\u88c5BioPerl<\/h4>\n<h4 style=\"padding-left: 30px;\">1.\u6253\u5f00cpan<\/h4>\n<pre style=\"padding-left: 30px;\">&gt;perl -MCPAN -e shell\r\n&gt;cpan<\/pre>\n<h4><\/h4>\n<h4 style=\"padding-left: 30px;\">2.\u67e5\u770b\u5b89\u88c5\u7684BioPerl\u7248\u672c\u5f88\u6587\u4ef6<\/h4>\n<pre style=\"padding-left: 30px;\">cpan&gt;d \/bioperl\/<\/pre>\n<h4><\/h4>\n<h4 style=\"padding-left: 30px;\">3. \u5b89\u88c5BioPerl<\/h4>\n<pre style=\"padding-left: 30px;\">cpan&gt;install C\/CJ\/CJFIELDS\/BioPerl-1.6.1.tar.gz\r\ncpan&gt;force install C\/CJ\/CJFIELDS\/BioPerl-1.6.1.tar.gz \uff08\u5f3a\u5236\u5b89\u88c5\uff09<\/pre>\n<h4>6 \u7f16\u8bd1\u5b89\u88c5<\/h4>\n<pre style=\"padding-left: 30px;\">perl Makefile.PL # makes the system specific makefile\r\nmake # builds all the libaries\r\nmake test # runs a short test\r\nmake install # installs the package correctly.<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>1 \u66f4\u65b0CPAN &gt;perl -MCPAN -e shell cpan&#038;g &hellip; <a href=\"http:\/\/www.chenlianfu.com\/?p=11\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[9],"_links":{"self":[{"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=\/wp\/v2\/posts\/11"}],"collection":[{"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11"}],"version-history":[{"count":18,"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=\/wp\/v2\/posts\/11\/revisions"}],"predecessor-version":[{"id":2528,"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=\/wp\/v2\/posts\/11\/revisions\/2528"}],"wp:attachment":[{"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.chenlianfu.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}