1. Check whether you have 'perl-CPAN‘ package installed in your system.

For checking ‘perl-CPAN’ package run following in your shell.

[root@host13 ~]# rpm -q perl-CPAN

If perl-CPAN package is installed, you will get the output like this

perl-CPAN-1.9402-116.fc13.i686

else, you will get output like this

package perl-CPAN is not installed

and that the case you need to install it. You can install it via using yum, yum install perl-CPAN or from rpm, from “rpm.pbone.net” you can obtain “perl-CPAN rpm’s”.

2. Running the command "perl -MCPAN -e shell" will brought you to a CPAN command prompt

[root@host13 ~]# perl -MCPAN -e shell

Terminal does not support AddHistory.

cpan shell -- CPAN exploration and modules installation (v1.9402)

Enter 'h' for help.

cpan[1]>

Note : If this is the first time you’ve run CPAN, it’s going to ask you a series of questions – in most cases the default answer is fine.

If you got an error given below, then you need to confirm the "perl-CPAN" package’s existence in the sytem

Can't locate CPAN.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/local/share/perl5 /usr/lib/perl5 /usr/share/perl5 /usr/share/perl5 /usr/lib/perl5 /usr/share/perl5 /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl .).

BEGIN failed--compilation aborted.

3. From this command prompt you can install the perl modules.

Examples:

cpan[1]> install MIME::Entity

cpan[1]> install MIME::Parser

cpan[1]> install Crypt::PasswdMD5

cpan[1]> install Term::ReadPassword

cpan[1]> install Crypt::CBC

cpan[1]> install Crypt::Blowfish

cpan[1]> install Daemon::Generic

cpan[1]> install DateTime

cpan[1]> install SOAP::Lite

Alternative for second and third step.

[root@host13 ~]# perl -MCPAN -e 'install HTML::Template'

[root@host13 ~]# perl -MCPAN -e 'install MIME::Entity'

[root@host13 ~]# perl -MCPAN -e 'install Crypt::PasswdMD5'

[root@host13 ~]# perl -MCPAN -e 'install Term::ReadPassword'

[root@host13 ~]# perl -MCPAN -e 'install Crypt::CBC'

[root@host13 ~]# perl -MCPAN -e 'install Crypt::Blowfish'

[root@host13 ~]# perl -MCPAN -e 'install Daemon::Generic'

[root@host13 ~]# perl -MCPAN -e 'install DateTime'

[root@host13 ~]# perl -MCPAN -e 'install SOAP::Lite'

php加速模块cpan模块,查看perl模块和cpan模块介绍相关推荐

  1. 从cpan上安装perl模块

    CPAN是perl的一个第三方源码模块库,里面有上百万的perl模块,用来支撑perl强大的功能,从生物工程到天文计算,从宏观世界到原子力学,无所不有.为了很方便的安装perl模块,有人做了一个CPA ...

  2. Perl操作excel2007的模块

    详细版:https://www.jianshu.com/p/84bda53827c8 第一种方法: 读写excel2007文档的perl模块: Spreadsheet::XLSX(读)和Spreads ...

  3. linux perl 安装目录,linux-将Perl模块安装到特定位置

    我有几台运行Perl程序以及其他程序和工具的Linux机器. 我想使所有机器之间的所有工具保持同步,因此我已经在一台机器(主)和另一台机器之间共享了/usr/local目录. 现在,我想在/usr/l ...

  4. python 如何查看模块所有方法-Python查看模块函数,查看函数方法的详细信息

    Python查看方法的详情 1.通用的帮助函数help() 使用help()函数来查看函数的帮助信息. 如: 1 importrequests2 3 help(requests) 会有类似如下输出: ...

  5. 查看python内部模块命令,内置函数,查看python已经安装的模块命令

    查看python内部模块命令,内置函数,查看python已经安装的模块命令 可以用dir(modules) 或者用 pip list 或者用 help('modules') 或者用 python -m ...

  6. 如何查看python安装了哪些模块_Python模块如何安装 并确认模块已经安装好?

    看自己有没有安装好,最简单的办法在可以再控制台下: C:\Users\sony>python Python 2.7.6 (default, Nov 10 2013, 19:24:18) [MSC ...

  7. c++ 获取64位进程模块地址_针对银行木马BokBot核心模块的深入分析

    一.概述 BokBot恶意软件由LUNAR SPIDER恶意组织开发和运营,在2017年首次出现,CrowdStrike的Falcon Overwatch和Falcon Intelligenc团队对被 ...

  8. Tengine怎么去安装第三方模块、以及安装源码中的模块

    Tengine怎么去安装第三方模块 检查配置文件nginx.conf的内容编辑后是否有错误 nginx -t 有以下错误,需要下载第三方模块 nginx: [emerg] unknown direct ...

  9. python中常用模块_工作中用过的Python常用模块:(基于3.x)

    内置模块: sys 用于提供对解释器相关的访问及维护.例如:sys.argv --传参 sys.platform --返回系统平台名称 sys.version --查看python版本 os 用于提供 ...

  10. 模块版网站与html网站,网站新闻模块代码html

    网站新闻模块代码html [2020-09-05 21:12:43]  简介: php去除nbsp的方法:首先创建一个PHP代码示例文件:然后通过"preg_replace("/( ...

最新文章

  1. 设Excle的cell中显示一个下拉列表选择框
  2. Python游戏开发pygame模块,Python实现球球碰撞小游戏
  3. springboot整合freemarker(转)
  4. 用python解析html[SGMLParser]
  5. [C++] Variable storage space
  6. 穿越五年的时空,重回三元湖畔
  7. Android布局管理器-使用FrameLayout帧布局管理器显示层叠的正方形以及前景照片
  8. 安装虚拟机和docker封装
  9. 数据追加用什么函数_RL用算法发现算法:DeepMind 数据驱动「价值函数」自我更新,14款Atari游戏完虐人类!...
  10. easyui,layui和 vuejs 有什么区别
  11. python中的class类使用方法[探索3]
  12. SQL2008-显示表大小行数
  13. oracle函数 power(x,y)
  14. ATF史上最全分析--bl1阶段
  15. reactnative布局与适配
  16. STM32片上Flash读写的一些重要知识
  17. cocos-creator使用记录5_发布微信小游戏
  18. 微信 昵称带 表情存入mysql数据库
  19. [日推荐] 『闲聊助手』人工智能小程序,仅此一款!-极乐商店store.dreawer.com
  20. THANK YOU FOR YOUR CONCERN, SIOBAN AND ANTHONY

热门文章

  1. Jenkins的windows10 从节点经常性掉线问题解决
  2. 在c语言的switch 语句中,的case后面的表达式,什么值必须在switch语句中case后面
  3. UT2012学习笔记
  4. angular中的变更检测机制
  5. 【MobaXterm】设置 黑夜模式和白天模式
  6. 大一计算机题库百度云,《大学计算机基础》试题题库及答案.doc
  7. Cocos Creator AnySDK支付问题
  8. 江湖上再也没有摩拜单车了
  9. 快速教你使用GPIO口
  10. java专有技术名词_关于Java的专有名词