CPAN

Jmnote (토론 | 기여)님의 2020년 5월 10일 (일) 13:59 판 (→‎개요)

1 개요

Comprehensive Perl Archive Network (CPAN)
종합 펄 아카이브 네트워크 (C팬)
  • 펄 소프트웨어 모듈 저장소 + 문서화 시스템

 

2 cpanm

cpan은 리눅스 배포판에 일반적으로 포함되어 있는 반면, cpanm은 그렇지 않다. 우분투에서 cpanm의 설치는 다음 과정을 따른다.

$ apt install cpanminus
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libalgorithm-c3-perl libb-hooks-endofscope-perl libb-hooks-op-check-perl libbareword-filehandles-perl
  libclass-c3-perl libclass-c3-xs-perl libclass-method-modifiers-perl libclass-xsaccessor-perl libcpan-changes-perl
  libcpan-distnameinfo-perl libcpan-meta-check-perl libcpan-meta-perl libcpan-meta-requirements-perl
  libcpan-meta-yaml-perl libdata-optlist-perl libdata-perl-perl libdata-section-perl libdevel-caller-perl
(생략)
0 upgraded, 78 newly installed, 0 to remove and 130 not upgraded.
Need to get 2715 kB of archives.
After this operation, 9095 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libcpan-distnameinfo-perl all 0.12-1 [8662 B]
Get:2 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libversion-perl amd64 1:0.9912-1ubuntu2 [53.1 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libcpan-meta-requirements-perl all 2.140-1 [16.0 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libcpan-meta-yaml-perl all 0.018-1 [12.8 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libcpan-meta-perl all 2.150005-1 [122 kB]
(생략)
Setting up libsoftware-license-perl (0.103011-2) ...
Setting up libtype-tiny-xs-perl (0.012-1build1) ...
Setting up libunicode-utf8-perl (0.60-1build2) ...

3 같이 보기

4 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}