The project: https://github.com/james91b/ida_ipython
It needed some tweaks to work which I documented here.
IDA is 32 bit software and links with Python at the ABI level so Python needs to be 32 bit also. IDA installer often convince the user to use their own python provided by the installer. Because of this on a 64 bit Linux you will need to fetch a 32 bit Python. Building your own IDA-ready python looks complicated so I decided to go with the project’s advice of using Anaconda.
Get the Python 2.7 32 bit installer from here: http://continuum.io/downloads
Run the installer as root. Install in /opt/python2.7-x86/
. I did not change my PATH. I don’t want my local python to be affected by this old and 32 bit python.
When trying to run:
/opt/python2.7-x86/bin/ipython qtconsole
/opt/python2.7-x86/bin/python: symbol lookup error: /usr/lib/i386-linux-gnu/libpangocairo-1.0.so.0: undefined symbol: cairo_ft_font_options_substitute
After trying to pull several :i386 libraries I found this: https://groups.google.com/a/continuum.io/d/msg/anaconda/R0RdG3HQONg/vgRv1IWrO68J
Lets try:
/opt/python2.7-x86/bin/conda update cairo
ipython works!
Follow the basic install instructions and realize that it doesn’t work for non-Windows and stop there.
-
Install the solarized theme for the ipython Qtconsole: https://bitbucket.org/joon/color-schemes-for-ipython-qt-console/