linux环境下Bioperl的安装
### Installation of BioPerl undex linux using CPAN ###
Part1: Preparing to install
2. After you have finished installation of perl, start cpan and upgrade cpan by executing the following commands:
>perl -MCPAN -e shell (# you can also type cpan directly)
cpan>install Bundle::CPAN
cpan>q
(Note: At this step, one is often bothered by the problem "backspace key does not function correctly", this is due to un-installation of Perl module Term::ReadLine, when you upgrade cpan from 1.98 to 2.00, this problem can be sovled automatically or you can install it by typing “install Term::Readline”).
3. Install/upgrade Module::Build, and make it your preferred installer: (Note: this is optional but recommended)
>$ cpan
cpan>install Module::Build (when you upgrade your cpan, Module::Build is probably up to date )
cpan>o conf prefer_installer MB
cpan>o conf commit
cpan>q
4. (Optional), if you will be working with XML files, then expat library is essential. You might need to do something like this:
>./configure –prefix=/home/mydir/bin/
>make
>make install
If you install expat from your distribution installer remember that you need also the library headers so you will need to install [ubuntu]>sudo apititude install libexpat-dev
If your expat library is installed in a non-standard location, tell CPAN about it:
>cpan
Cpan>o conf makepl_arg "EXPATLIBPATH=/non-standard/lib EXPATINCPATH=/non-standard/include"
Cpan>o conf commitperl怎么下载
PART2: Install BioPerl using CPAN
cpan>d /bioperl/
cpan>install CJFIELDS/BioPerl-1.6. (note the latest bioperl is 1.6.901. not bioperl-1.6.1)
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论