<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>生信菜鸟团 &#187; cpan</title>
	<atom:link href="http://www.bio-info-trainee.com/tag/cpan/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bio-info-trainee.com</link>
	<description>欢迎去论坛biotrainee.com留言参与讨论，或者关注同名微信公众号biotrainee</description>
	<lastBuildDate>Sat, 28 Jun 2025 14:30:13 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.33</generator>
	<item>
		<title>Perl用cpan在linux上面安装模块</title>
		<link>http://www.bio-info-trainee.com/540.html</link>
		<comments>http://www.bio-info-trainee.com/540.html#comments</comments>
		<pubDate>Mon, 30 Mar 2015 08:17:38 +0000</pubDate>
		<dc:creator><![CDATA[ulwvfje]]></dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[cpan]]></category>
		<category><![CDATA[模块]]></category>

		<guid isPermaLink="false">http://www.bio-info-trainee.com/?p=540</guid>
		<description><![CDATA[之所以要讲一下这个，是因为trinity这个软件居然需要perl的模块才能使用， &#8230; <a href="http://www.bio-info-trainee.com/540.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>之所以要讲一下这个，是因为trinity这个软件居然需要perl的模块才能使用，所以我必须自己安装几个模块。<strong>此教程可能过期了，请直接看最新版</strong>(<a href="http://www.bio-info-trainee.com/2451.html" target="_blank">perl模块安装大全</a>)</p>
<p>前提是要有root权限，否则只能自己下载perl模块自己解压安装了。<span id="more-540"></span></p>
<p>首次使用需要perl -MCPAN -e shell</p>
<p>以后只需要cpan即可</p>
<p>安装只有两个步骤，查询或者安装</p>
<p>查询：cpan[1]&gt; d /模块名字或者部分名字/</p>
<p>查询结果中会给出所有含有模块名字或者部分名字的模块，选择您所需要的模块进行下载</p>
<p>&nbsp;</p>
<p>下载安装：cpan[1]&gt;  install  模块名字</p>
<p><a href="http://www.bio-info-trainee.com/wp-content/uploads/2015/03/Perl用cpan在linux上面安装模块313.png"><img class="alignnone size-full wp-image-541" src="http://www.bio-info-trainee.com/wp-content/uploads/2015/03/Perl用cpan在linux上面安装模块313.png" alt="Perl用cpan在linux上面安装模块313" width="554" height="333" /></a></p>
<p>install LWP  同时会自动安装很多依赖的模块，非常方便。</p>
<p>&nbsp;</p>
<p>或者查找bioperl模块</p>
<p><a href="http://www.bio-info-trainee.com/wp-content/uploads/2015/03/Perl用cpan在linux上面安装模块329.png"><img class="alignnone size-full wp-image-542" src="http://www.bio-info-trainee.com/wp-content/uploads/2015/03/Perl用cpan在linux上面安装模块329.png" alt="Perl用cpan在linux上面安装模块329" width="554" height="240" /></a></p>
<p>install   CJFIELDS/Bundle-BioPerl-2.1.9.tar.gz</p>
<p>再输入上面这个命令，就可以安装啦</p>
<p>Running make install</p>
<p>Installing /usr/local/share/perl/5.18.2/Bundle/BioPerl.pm</p>
<p>Installing /usr/local/man/man3/Bundle::BioPerl.3pm</p>
<p>Appending installation info to /usr/local/lib/perl/5.18.2/perllocal.pod</p>
<p>CJFIELDS/Bundle-BioPerl-2.1.9.tar.gz</p>
<p>/usr/bin/make install  -- OK</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>之前运行Trinity是会报错的，说缺少一个模块，现在就可以用了</p>
<p>但是如果把Trinity那个程序拷贝到其它目录，还是会报错</p>
<p>Can't locate COMMON.pm in @INC (you may need to install the COMMON module) (@INC contains: /usr/local/bin/PerlLib /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /usr/local/bin/Trinity line 14.</p>
<p>BEGIN failed--compilation aborted at /usr/local/bin/Trinity line 14.</p>
<p>因为Trinity这个软件本身放了几个perl模块在它自己的目录下面，不能把它们分开！</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bio-info-trainee.com/540.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
