"리눅스 Python 버전 확인"의 두 판 사이의 차이

3번째 줄: 3번째 줄:


==방법 1: python==
==방법 1: python==
;명령어
<source lang='bash'>
<source lang='bash'>
python -V
python -V

2013년 4월 14일 (일) 11:58 판

파이썬 버전 확인하기
Python 버전 확인

1 방법 1: python

명령어
python -V
실행 예시
[root@jmnote ~]# python -V
Python 2.4.3

2 방법 2: rpm

[root@jmnote ~]# rpm -qa python
python-2.4.3-44.el5_7.1

3 방법 3: yum

[root@jmnote ~]# yum list installed python
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
Installed Packages
python.x86_64                           2.4.3-44.el5_7.1                           installed

4 같이 보기

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