[[email protected] bin]# yum install readline readline-devel ncurses ncurses-devel -y
[[email protected] bin]# wget --no-check-certificate https://www.python.org/ftp/python/2.7.8/Python-2.7.8.tgz
[[email protected] bin]# wget --no-check-certificate https://github.com/ipython/ipython/releases/download/rel-2.1.0/ipython-2.1.0.tar.gz
[[email protected] bin]# tar fvxz Python-2.7.8.tgz
[[email protected] bin]# cd Python-2.7.8
[[email protected] bin]# ./configure --prefix=/usr/local/python27 && make && make install
[[email protected] bin]# tar fvxz ipython.tar.gz
[[email protected] bin]# cd ipython-2.1.0/
[[email protected] bin]# /usr/local/python27/bin/python2.7 setup.py build
[[email protected] bin]# /usr/local/python27/bin/python2.7 setup.py install
[[email protected] bin]# cd /usr/bin
[[email protected] bin]# ln -sv /usr/local/python27/bin/ipython .
[[email protected] bin]# ipython
WARNING: IPython History requires SQLite, your history will not be saved
Python 2.7.9 (default, Jan 30 2015, 00:13:35)
Type "copyright", "credits" or "license" for more information.
IPython 3.1.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython‘s features.
%quickref -> Quick reference.
help -> Python‘s own help system.
object? -> Details about ‘object‘, use ‘object??‘ for extra details.
In [1]: