Monday, July 9, 2018

Install IPython on CentOS_7

iPython is a great python shell. It comes handy to test quick the python code and ideas immediately and It has an interactive python shell into a python application. And can even be used as a system shell. To install this on CentOS_7 you will need to enable and install epel-release (extra packages) repository and then try to run following commands at your own discretion:

# yum install epel-release
# yum update -y
# yum install ipython
[root@CentOS_7 ~]# ipython
Python 2.7.5 (default, Apr 11 2018, 07:36:10) 
Type "copyright", "credits" or "license" for more information.

IPython 3.2.1 -- 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]:

[root@CentOS_7 ~]# uname -a
Linux dhcp-172-20-196-165 3.10.0-862.el7.x86_64

No comments: