Python

personal snipetts – under construction

CMMI prerequirements

  • RHEL/CentOS/Fedora
    • zlib-devel
    • bzip2-devel
    • openssl-devel
    • ncurses-devel
    • sqlite-devel
    • readline-devel
    • gdbm-devel
    • db4-devel
    • libpcap-devel
    • xz-devel
    • tk-devel
    • tcl-devel
    • expat-devel
  • Debian/Ubuntu
    • zlib1g-dev
    • libbz2-dev
    • libssl-dev
    • libncurses5-dev
    • libsqlite3-dev
    • libreadline-dev
    • libgdbm-dev
    • libdb-dev
    • libpcap-dev
    • liblzma-dev
    • tk-dev
    • tcl-dev
    • libexpat-dev

CMMI ver2

$ curl -LO https://www.python.org/ftp/python/2.7.12/Python-2.7.12.tar.xz
$ tar xf Python-2.7.12.tar.xz
$ cd Python-2.7.12
$ ./configure --prefix=/path/to/python/2.7.12 --enable-unicode=ucs4
$ make
$ make install

CMMI ver3

$ curl -LO https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tar.xz
$ tar xf Python-3.5.2.tar.xz
$ cd Python-3.5.2
$ ./configure --prefix=/path/to/python/3.5.2
$ make
$ make install

Pillow prerequirements

  • RHEL/CentOS/Fedora
    • pass
  • Debian/Ubuntu
    • libjpeg8-dev
    • libtiff5-dev
    • libfreetype6-dev
    • liblcms2-dev
    • libwebp-dev