1.curl -L https://cpanmin.us | perl - --sudo App::cpanminus

参考:https://metacpan.org/pod/App::cpanminus#INSTALL

root@debian:/home/test/**# curl -L https://cpanmin.us | perl - --sudo App::cpanminus
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 295k 100 295k 0 0 1969k 0 --:--:-- --:--:-- --:--:-- 1971k
--> Working on App::cpanminus
Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-1.7044.tar.gz ... OK
Configuring App-cpanminus-1.7044 ... OK
Building and testing App-cpanminus-1.7044 ... OK
Successfully installed App-cpanminus-1.7044
1 distribution installed

  

root@debian:/home/test/****# curl -L https://cpanmin.us | perl - App::cpanminus
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 295k 100 295k 0 0 9173k 0 --:--:-- --:--:-- --:--:-- 9240k
App::cpanminus is up to date. (1.7044)

  

2.cpanm Plack

参考:https://plackperl.org/

root@debian:/usr/bin# cpanm Plack
--> Working on Plack
Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Plack-1.0047.tar.gz ... OK
==> Found dependencies: File::ShareDir::Install
--> Working on File::ShareDir::Install
Fetching http://www.cpan.org/authors/id/E/ET/ETHER/File-ShareDir-Install-0.13.tar.gz ... OK
Configuring File-ShareDir-Install-0.13 ... OK
Building and testing File-ShareDir-Install-0.13 ... OK
Successfully installed File-ShareDir-Install-0.13
Configuring Plack-1.0047 ... OK
==> Found dependencies: Cookie::Baker, WWW::Form::UrlEncoded, Try::Tiny, Test::Requires, Hash::MultiValue, Devel::StackTrace, Devel::StackTrace::AsHTML, HTTP::Headers::Fast, HTTP::Entity::Parser, Stream::Buffered, Filesys::Notify::Simple, File::ShareDir, Apache::LogFormat::Compiler, Test::TCP
--> Working on Cookie::Baker
Fetching http://www.cpan.org/authors/id/K/KA/KAZEBURO/Cookie-Baker-0.09.tar.gz ... OK
==> Found dependencies: Module::Build::Tiny
--> Working on Module::Build::Tiny
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/Module-Build-Tiny-0.039.tar.gz ... OK
==> Found dependencies: ExtUtils::InstallPaths, ExtUtils::Helpers, ExtUtils::Config
--> Working on ExtUtils::InstallPaths
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-0.012.tar.gz ... OK
Configuring ExtUtils-InstallPaths-0.012 ... OK
==> Found dependencies: ExtUtils::Config
--> Working on ExtUtils::Config
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-Config-0.008.tar.gz ... OK
Configuring ExtUtils-Config-0.008 ... OK
Building and testing ExtUtils-Config-0.008 ... OK
Successfully installed ExtUtils-Config-0.008
Building and testing ExtUtils-InstallPaths-0.012 ... OK
Successfully installed ExtUtils-InstallPaths-0.012
--> Working on ExtUtils::Helpers
Fetching http://www.cpan.org/authors/id/L/LE/LEONT/ExtUtils-Helpers-0.026.tar.gz ... OK
Configuring ExtUtils-Helpers-0.026 ... OK
Building and testing ExtUtils-Helpers-0.026 ... OK
Successfully installed ExtUtils-Helpers-0.026
Configuring Module-Build-Tiny-0.039 ... OK
Building and testing Module-Build-Tiny-0.039 ... OK
Successfully installed Module-Build-Tiny-0.039
Configuring Cookie-Baker-0.09 ... OK
==> Found dependencies: Test::Time
--> Working on Test::Time
Fetching http://www.cpan.org/authors/id/S/SA/SATOH/Test-Time-0.06.tar.gz ... OK
Configuring Test-Time-0.06 ... OK
Building and testing Test-Time-0.06 ... OK
Successfully installed Test-Time-0.06
Building and testing Cookie-Baker-0.09 ... OK
Successfully installed Cookie-Baker-0.09
--> Working on WWW::Form::UrlEncoded
Fetching http://www.cpan.org/authors/id/K/KA/KAZEBURO/WWW-Form-UrlEncoded-0.24.tar.gz ... OK
Configuring WWW-Form-UrlEncoded-0.24 ... OK
==> Found dependencies: JSON
--> Working on JSON
Fetching http://www.cpan.org/authors/id/I/IS/ISHIGAKI/JSON-2.97001.tar.gz ... OK
Configuring JSON-2.97001 ... OK
Building and testing JSON-2.97001 ... OK
Successfully installed JSON-2.97001
Building and testing WWW-Form-UrlEncoded-0.24 ... OK
Successfully installed WWW-Form-UrlEncoded-0.24
--> Working on Try::Tiny
Fetching http://www.cpan.org/authors/id/E/ET/ETHER/Try-Tiny-0.30.tar.gz ... OK
Configuring Try-Tiny-0.30 ... OK
Building and testing Try-Tiny-0.30 ... OK
Successfully installed Try-Tiny-0.30
--> Working on Test::Requires
Fetching http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Test-Requires-0.10.tar.gz ... OK
Configuring Test-Requires-0.10 ... OK
Building and testing Test-Requires-0.10 ... OK
Successfully installed Test-Requires-0.10
--> Working on Hash::MultiValue
Fetching http://www.cpan.org/authors/id/A/AR/ARISTOTLE/Hash-MultiValue-0.16.tar.gz ... OK
Configuring Hash-MultiValue-0.16 ... OK
Building and testing Hash-MultiValue-0.16 ... OK
Successfully installed Hash-MultiValue-0.16
--> Working on Devel::StackTrace
Fetching http://www.cpan.org/authors/id/D/DR/DROLSKY/Devel-StackTrace-2.03.tar.gz ... OK
Configuring Devel-StackTrace-2.03 ... OK
Building and testing Devel-StackTrace-2.03 ... OK
Successfully installed Devel-StackTrace-2.03
--> Working on Devel::StackTrace::AsHTML
Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Devel-StackTrace-AsHTML-0.15.tar.gz ... OK
Configuring Devel-StackTrace-AsHTML-0.15 ... OK
Building and testing Devel-StackTrace-AsHTML-0.15 ... OK
Successfully installed Devel-StackTrace-AsHTML-0.15
--> Working on HTTP::Headers::Fast
Fetching http://www.cpan.org/authors/id/T/TO/TOKUHIROM/HTTP-Headers-Fast-0.21.tar.gz ... OK
Configuring HTTP-Headers-Fast-0.21 ... OK
Building and testing HTTP-Headers-Fast-0.21 ... OK
Successfully installed HTTP-Headers-Fast-0.21
--> Working on HTTP::Entity::Parser
Fetching http://www.cpan.org/authors/id/K/KA/KAZEBURO/HTTP-Entity-Parser-0.21.tar.gz ... OK
Configuring HTTP-Entity-Parser-0.21 ... OK
==> Found dependencies: Stream::Buffered, JSON::MaybeXS, HTTP::MultiPartParser
--> Working on Stream::Buffered
Fetching http://www.cpan.org/authors/id/D/DO/DOY/Stream-Buffered-0.03.tar.gz ... OK
Configuring Stream-Buffered-0.03 ... OK
Building and testing Stream-Buffered-0.03 ... OK
Successfully installed Stream-Buffered-0.03
--> Working on JSON::MaybeXS
Fetching http://www.cpan.org/authors/id/H/HA/HAARG/JSON-MaybeXS-1.004000.tar.gz ... OK
Configuring JSON-MaybeXS-1.004000 ... OK
==> Found dependencies: JSON::PP, Cpanel::JSON::XS
--> Working on JSON::PP
Fetching http://www.cpan.org/authors/id/I/IS/ISHIGAKI/JSON-PP-2.97001.tar.gz ... OK
Configuring JSON-PP-2.97001 ... OK
Building and testing JSON-PP-2.97001 ... OK
Successfully installed JSON-PP-2.97001 (upgraded from 2.27203)
--> Working on Cpanel::JSON::XS
Fetching http://www.cpan.org/authors/id/R/RU/RURBAN/Cpanel-JSON-XS-4.06.tar.gz ... OK
Configuring Cpanel-JSON-XS-4.06 ... OK
Building and testing Cpanel-JSON-XS-4.06 ... OK
Successfully installed Cpanel-JSON-XS-4.06
Building and testing JSON-MaybeXS-1.004000 ... OK
Successfully installed JSON-MaybeXS-1.004000
--> Working on HTTP::MultiPartParser
Fetching http://www.cpan.org/authors/id/C/CH/CHANSEN/HTTP-MultiPartParser-0.02.tar.gz ... OK
Configuring HTTP-MultiPartParser-0.02 ... OK
==> Found dependencies: Test::Deep
--> Working on Test::Deep
Fetching http://www.cpan.org/authors/id/R/RJ/RJBS/Test-Deep-1.128.tar.gz ... OK
Configuring Test-Deep-1.128 ... OK
==> Found dependencies: Test::Tester
--> Working on Test::Tester
Fetching http://www.cpan.org/authors/id/E/EX/EXODIST/Test-Simple-1.302140.tar.gz ... OK
Configuring Test-Simple-1.302140 ... OK
Building and testing Test-Simple-1.302140 ... OK
Successfully installed Test-Simple-1.302140
Building and testing Test-Deep-1.128 ... OK
Successfully installed Test-Deep-1.128
Building and testing HTTP-MultiPartParser-0.02 ... OK
Successfully installed HTTP-MultiPartParser-0.02
Building and testing HTTP-Entity-Parser-0.21 ... OK
Successfully installed HTTP-Entity-Parser-0.21
--> Working on Filesys::Notify::Simple
Fetching http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Filesys-Notify-Simple-0.13.tar.gz ... OK
Configuring Filesys-Notify-Simple-0.13 ... OK
==> Found dependencies: Test::SharedFork
--> Working on Test::SharedFork
Fetching http://www.cpan.org/authors/id/E/EX/EXODIST/Test-SharedFork-0.35.tar.gz ... OK
Configuring Test-SharedFork-0.35 ... OK
Building and testing Test-SharedFork-0.35 ... OK
Successfully installed Test-SharedFork-0.35
Building and testing Filesys-Notify-Simple-0.13 ... OK
Successfully installed Filesys-Notify-Simple-0.13
--> Working on File::ShareDir
Fetching http://www.cpan.org/authors/id/R/RE/REHSACK/File-ShareDir-1.116.tar.gz ... OK
Configuring File-ShareDir-1.116 ... OK
==> Found dependencies: Class::Inspector
--> Working on Class::Inspector
Fetching http://www.cpan.org/authors/id/P/PL/PLICEASE/Class-Inspector-1.32.tar.gz ... OK
Configuring Class-Inspector-1.32 ... OK
Building and testing Class-Inspector-1.32 ... OK
Successfully installed Class-Inspector-1.32
Building and testing File-ShareDir-1.116 ... OK
Successfully installed File-ShareDir-1.116
--> Working on Apache::LogFormat::Compiler
Fetching http://www.cpan.org/authors/id/K/KA/KAZEBURO/Apache-LogFormat-Compiler-0.35.tar.gz ... OK
Configuring Apache-LogFormat-Compiler-0.35 ... OK
==> Found dependencies: Test::MockTime, POSIX::strftime::Compiler
--> Working on Test::MockTime
Fetching http://www.cpan.org/authors/id/D/DD/DDICK/Test-MockTime-0.17.tar.gz ... OK
Configuring Test-MockTime-0.17 ... OK
Building and testing Test-MockTime-0.17 ... OK
Successfully installed Test-MockTime-0.17
--> Working on POSIX::strftime::Compiler
Fetching http://www.cpan.org/authors/id/K/KA/KAZEBURO/POSIX-strftime-Compiler-0.42.tar.gz ... OK
Configuring POSIX-strftime-Compiler-0.42 ... OK
Building and testing POSIX-strftime-Compiler-0.42 ... OK
Successfully installed POSIX-strftime-Compiler-0.42
Building and testing Apache-LogFormat-Compiler-0.35 ... OK
Successfully installed Apache-LogFormat-Compiler-0.35
--> Working on Test::TCP
Fetching http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Test-TCP-2.19.tar.gz ... OK
Configuring Test-TCP-2.19 ... OK
Building and testing Test-TCP-2.19 ... OK
Successfully installed Test-TCP-2.19
Building and testing Plack-1.0047 ... OK
Successfully installed Plack-1.0047

  

3.

https://metacpan.org/pod/plackup

https://en.wikipedia.org/wiki/Plack_(software)

https://metacpan.org/pod/plackup

4.模块安装:

curl -L https://cpanmin.us | perl - CGI::Application

curl -L https://cpanmin.us | perl - CGI::PSGI

curl -L https://cpanmin.us | perl - Mojo::DOM

cpanm Plack相关的更多相关文章

  1. 嵌入式单片机STM32应用技术(课本)

    目录SAIU R20 1 6 第1页第1 章. 初识STM32..................................................................... ...

  2. 使用cpanm安装perl相关模块

    cpanm是安装Perl模块的最方便的方法.自动下载安装依赖包.使用CPAN shell或下载源码包安装模块,遇到大量依赖关系,非常头痛.下面就是一例: 1. 安装cpanmcpanm其实是一个可执行 ...

  3. java中的字符串相关知识整理

    字符串为什么这么重要 写了多年java的开发应该对String不陌生,但是我却越发觉得它陌生.每学一门编程语言就会与字符串这个关键词打不少交道.看来它真的很重要. 字符串就是一系列的字符组合的串,如果 ...

  4. SQL Server相关书籍

    SQL Server相关书籍 (排名不分先后) Microsoft SQL Server 企业级平台管理实践 SQL Server 2008数据库技术内幕 SQL Server性能调优实战 SQL S ...

  5. dotNET跨平台相关文档整理

    一直在从事C#开发的相关技术工作,从C# 1.0一路用到现在的C# 6.0, 通常情况下被局限于Windows平台,Mono项目把我们C#程序带到了Windows之外的平台,在工作之余花了很多时间在M ...

  6. 在ASP.NET Core应用中如何设置和获取与执行环境相关的信息?

    HostingEnvironment是承载应用当前执行环境的描述,它是对所有实现了IHostingEnvironment接口的所有类型以及对应对象的统称.如下面的代码片段所示,一个HostingEnv ...

  7. virtualbox linux虚拟机相关

    linux虚拟机设置为静态IP 在virtualbox中安装好linux虚拟机后,如果采用的是NAT方式的话,linux虚拟机默认采用dhcp方式自动上网,而且用的是NetworkManager服务而 ...

  8. WebGIS中等值面展示的相关方案简析

    文章版权由作者李晓晖和博客园共有,若转载请于明显处标明出处:http://www.cnblogs.com/naaoveGIS/ 1.背景 等值面是气象.环保等相关项目上常用到的效果展示.在传统的CS项 ...

  9. .NET同步与异步之相关背景知识(六)

    在之前的五篇随笔中,已经介绍了.NET 类库中实现并行的常见方式及其基本用法,当然.这些基本用法远远不能覆盖所有,也只能作为一个引子出现在这里.以下是前五篇随笔的目录: .NET 同步与异步之封装成T ...

随机推荐

  1. devC++代码格式化对齐的快捷键

    devC++代码格式化对齐的快捷键是ctrl + shift + a ctrl + 左右键可以使光标移动一个单词的距离 shirt + 左右键可以选中光标左右的一个字符

  2. .net core 存储base64的图片或文件

    public void SaveImageFromBase64(string base64string) { byte[] b = Convert.FromBase64String(base64str ...

  3. Asp.Net : Page.RegisterStartupScript及 不执行的原因

    RegisterStartupScript 把script放置在ASP.NET page的底部,而RegisterClientScriptBlock把script放置在ASP.NET page的顶部 ...

  4. Git使用之(pathspec master did not match any file(s) known to git)

    一 问题概述 今天在工作中遇到一个问题,使用很久的一个local git repository,里面只有develop分支,那么现在想将分支切换到master分支,问题来了,在切换到master分支时 ...

  5. [ZZ] 用matlab绘制箭头

    用matlab绘制箭头 http://npfeng900.blog.163.com/blog/static/14456108201221922944998/ 用matlab绘制箭头1 用matlab绘 ...

  6. 收藏品:MP3播放器

    大三下学期的时候,有一段生活激情似火. 那时候,我在外边接了项目,把宿舍的哥们儿都组织了起来,一起开发赚钱.我们在小区里租了房子,又多借了一台电脑,哥几个轮流上阵写代码.准备考研的兄弟也帮手做饭,我和 ...

  7. 辨析字节序(Endianness)

    字节序(Endianness, Byte Order)指的是对于一个多字节数值,当在内存中存储该值或者在链路中传输该值时,其值所包含的多个字节的排列顺序. 在计算机科学中,一般存在两种字节序,大端字节 ...

  8. 清空Sql server日志

    日志文件时间长了很大很讨厌,这样清空 1.分离数据库 2.将原数据库的log文件改名 3.附加数据库,在log文件中会显示没有发现,点击删除按钮 4.确定即可

  9. 我的第二本译作《精通OpenStack》上架啦:前言、目录和样章

    1. 前言 今天,随着新功能和子项目的增加,OpenStack已成为一个不断扩展的大型开源项目.随着数以百计大型企业采用并不断为OpenStack生态系统做出贡献,OpenStack必将成为下一代私有 ...

  10. 知识点:tuple 元素真的不可变吗

    tuple 元素真的不可变吗 有一种有序列表叫元组:tuple. tuple和list非常类似,但是tuple一旦初始化就不能修改,比如同样是列出单位或同学的名字: >>> clas ...