Perl 버전 확인

1 개요[ | ]

perl 버전 확인
[root@zetawiki ~]# perl -v    

This is perl 5, version 32, subversion 1 (v5.32.1) built for x86_64-linux-gnu

Copyright 1987-2021, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

2 CentOS[ | ]

[root@zetawiki ~]# rpm -qa perl-core
perl-core-5.10.1-136.el6_6.1.x86_64
[root@zetawiki ~]# yum list installed perl-core
... (생략)
Installed Packages
perl-core.x86_64                       5.10.1-136.el6_6.1                       @update

3 우분투[ | ]

root@zetawiki:~# dpkg -l | grep 'ii  perl '
ii  perl                                 5.18.2-2ubuntu1.1                amd64        Larry Wall's Practical Extraction and Report Language
root@zetawiki:~# aptitude show perl | egrep ^'Version|State'
State: installed
Version: 5.18.2-2ubuntu1.1

4 같이 보기[ | ]

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