python module install for CentOS

In the world/컴퓨터 2009. 8. 10. 14:31
CentOS에서 python 관련 module을 손쉽게 설치하기 위해서 epel repository를 추가해 주면 된다.

sudo rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/`uname -i`/epel-release-5-3.noarch.rpm

repository를 추가 했으면 yum install을 이용하여 간편하게 설치할 수 있다.

ex) sudo yum install numpy

참고로 과학계산 용도로 가장 많이 쓰이는 module은 다음과 같다.

1. numpy (array 처리 관련)
2. scipy (matrix 연산 관련, scipy를 사용하려면 numpy가 있어야 한다.)
3. matplotlib (그래픽 관련)

1, 2 번을 사용하기 위해서는 blas, lapack 등이 필요하다.

: