整理oe7安装第三方库

1 安装epel软件库
  yum install epel-release

2 安装 wget
  yum install wget

3 安装 pythone 2.7.8 , 源码

  wget https://www.python.org/ftp/python/2.7.8/Python-2.7.8.tgz

4 安装 gcc
  yum -y install gcc
  yum -y install gcc-c++
  yum -y install make

5、下载安装 openssl, openssl_devel , zlib , libxml2 , libxslt , glibc 等模块。

   yum -y install libjpeg libjpeg-devel zlib zlib-devel freetype freetype-devel lcms lcms-devel
   yum -y openssl openssl-devel  glibc glibc-devel
   yum -y install ibxml2 libxml2-devel libxslt libxslt-devel
  
   yum -y install libssl-devel libbz2-devel libgdbm-devel

使用下个命令可安装开发工具包 (95个)
   yum -y groupinstall "Development tools"

   yum install -y tcl-devel tk-devel


6 编译安装  python 2.7.8

    参考: http://iwin.iteye.com/blog/2154014

7  安装 postgresql 9.3 最新版本,  下载地址: http://yum.postgresql.org/9.3/redhat/rhel-6.0-x86_64/
  
    yum install http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-redhat93-9.3-1.noarch.rpm
    yum install postgresql93-server postgresql93-contrib


8 oe库安装

   yum install postgresql-devel

  下载 psycopg2 源代码,运行 python setup.py build / install

  wget https://pypi.python.org/packages/source/p/psycopg2/psycopg2-2.5.4.tar.gz --no-check-certificate
 
  先  make , 再  setup.py install

setuptools 的安装:
wget https://bootstrap.pypa.io/ez_setup.py -O - | python

wget https://pypi.python.org/packages/source/s/simplejson/simplejson-3.6.5.tar.gz
wget http://pypi.python.org/packages/source/l/lxml/lxml-3.4.1.tar.gz

PIL安装:
wget http://effbot.org/downloads/Imaging-1.1.7.tar.gz
   运行 python setup.py install 可安装 PIL   
wget https://pypi.python.org/packages/source/p/pyaml/pyaml-14.12.10.tar.gz
wget https://pypi.python.org/packages/source/r/reportlab/reportlab-3.1.44.tar.gz#md5=34f13c50b416c6bea12e3d8cb23ec7d7
wget https://pypi.python.org/packages/source/M/Mako/Mako-1.0.0.tar.gz
wget http://download.gna.org/pychart/PyChart-1.39.tar.gz
wget https://pypi.python.org/packages/source/W/Werkzeug/Werkzeug-0.9.6.tar.gz
wget https://pypi.python.org/packages/source/b/bdateutil/bdateutil-0.1.tar.gz
wget https://pypi.python.org/packages/source/u/unittest2/unittest2-0.8.0.tar.gz#md5=3ae364d783aaf1fafb67ff77fd7abfcb
wget https://pypi.python.org/packages/source/m/mock/mock-1.0.1.tar.gz#md5=c3971991738caa55ec7c356bbc154ee2
wget https://pypi.python.org/packages/source/p/python-openid/python-openid-2.2.5.tar.gz#md5=393f48b162ec29c3de9e2973548ea50d
wget https://pypi.python.org/packages/source/d/docutils/docutils-0.12.tar.gz#md5=4622263b62c5c771c03502afa3157768
wget https://pypi.python.org/packages/source/x/xlutils/xlutils-1.7.1.tar.gz#md5=6247ccda7d8f864b815525e94da30977



你可能感兴趣的:(安装)