linux下perl及bioperl安装

linux下perl及bioperl安装

perl安装


下载地址:http://www.perl.org/get.html

attachments-2018-10-a52eMrM65bd2b1a740452.jpg

安装:


tar zxvf perl-5.26.1.tar.gz
cd perl-5.26.1/
./Configure –de -Dprefix=/opt/perl5   #目的安装目录
make
make test
make install


测试:

perl –v

有perl的信息即安装成功。

bioperl安装

perl版本要求高于5.6.1

perl -MCPAN -e shell
cpan>install Module::Build
cpan>o conf prefer_installer MB
cpan>o conf commit
cpan>d /bioperl/
Distribution    CDRAUG/Dist-Zilla-PluginBundle-BioPerl-0.27.tar.gz
Distribution    CJFIELDS/BioPerl-1.007002.tar.gz
Distribution    CJFIELDS/BioPerl-1.6.924.tar.gz
Distribution    CJFIELDS/BioPerl-DB-1.006900.tar.gz
Distribution    CJFIELDS/BioPerl-Network-1.006902.tar.gz
Distribution    CJFIELDS/BioPerl-Run-1.007002.tar.gz
Distribution    CJFIELDS/Bundle-BioPerl-2.1.9.tar.gz
8 items found
cpan>install CJFIELDS/BioPerl-1.6.924.tar.gz

更多perl语言知识可观看 Perl语言高级编程 学习!

  • 发表于 2018-10-26 14:27
  • 阅读 ( 8899 )
  • 分类:linux

4 条评论

按照步骤,结果报错 Please tell me where I can find your apache src

老师您好 我购买了perl的初级课程,但是高级课程没有bioperl的安装,安装cpan>install CJFIELDS/BioPerl-1.6.924.tar.gz到这个命令时出现错误Running make for C/CJ/CJFIELDS/BioPerl-1.007002.tar.gz Catching error: "mkdir /home/manager/.cpan/sources/authors/id/C: Permission denied at /usr/share/perl/5.18/CPAN/FTP.pm line 519.\cJ" at /usr/share/perl/5.18/CPAN.pm line 392, <FIN> line 2. CPAN::shell() called at -e line 1 请问是什么地方的问题?该怎么解决?谢谢

Linux下安装软件一定要学习这个课程:https://study.163.com/course/introduction/1006346005.htm?share=2&shareId=1030291076

我看了这个课程,但是还是解决不了上面的问题,请问该怎么办。用sudo apt-get install bioperl 安装,说已经是最新版本了,但是却没法启动使用,请问该怎么办?

请先 登录 后评论
安生水
安生水

356 篇文章

作家榜 »

  1. omicsgene 715 文章
  2. 安生水 356 文章
  3. Daitoue 167 文章
  4. 生物女学霸 120 文章
  5. xun 86 文章
  6. rzx 81 文章
  7. 红橙子 78 文章
  8. CORNERSTONE 72 文章