![installing ida pro linux installing ida pro linux](https://aixxe.net/uploads/legacy/12/ida_fullupdate_linux.png)
![installing ida pro linux installing ida pro linux](http://sitetj671.weebly.com/uploads/1/2/4/0/124060513/640177874.jpg)
#INSTALLING IDA PRO LINUX INSTALL#
Fortunately, in the latest version of Ubuntu it is possible to install almost all the IA32 dependencies by hand following a simple scheme. While effective, this is in my opinion not ideal. In previous versions of Ubuntu what I had to do to achieve such task, is to build a IA32 chroot environment (following guide). Installing IDA Pro on Linux (AMD64) can be a pain. There are multiple options but for simplicity sake I choose to export the environment variable `LD_LIBRARY_PATH` and make it point to `/opt/pym32/lib` $ export LD_LIBRARY_PATH='/opt/pym32/lib' $ /home/agustin/opt/ida/idaq64 And that's it, now you have a running version of IDA Pro all with IDAPython running as it should. The last step is to tell the loader where those libraries are. The steps you need to follow are described bellow and need to be issued in the Python2.6 source directory: $ CC='gcc -m32' LDFLAGS='-L/lib32 -L/usr/lib32 -L`pwd`/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32'./configure -prefix=/opt/pym32 -enable-shared $ make -j 8 $ sudo make install This will install python in the directory `/opt/pym32` along with all the needed shared libraries for IDAPython to run. So I took another way and tried to build it from the source. This was not ideal since I always ended up breaking some dependencies and the package manager was not happy about it. In a previous iteration of this blog entry what I did was to these packages from an old Ubuntu repository. We need a dynamic library that comes from Python 2.6 and as the release notes says, Python 2.6 has been deprecated. We need to proceed in the same way as we did before, but there is a slight difference. Dlopen(/home/agustin/opt/idapro/plugins/x): libpython2.6.so.1.0: cannot open shared object file: No such file or directory /home/agustin/opt/idapro/plugins/x: can't load file. $ sudo apt-get install libXext6:i386 Once we have installed each one of the libraries IDA Pro will fire up, but we will receive a dissapointing message the the IDAPython plugin is not working due to missing dependencies. So for each of the missing libraries we proceed like this: $ dpkg -S libXext.so.6 libxext6: /usr/lib/x86_64-linux-gnu/libXext.so.6 As we can see, the file is provided by `libxext6`, but we need to take into account that we need the IA32 versions of the libraries.įortunately, Ubuntu does allow us to install both versions and it is just a matter of adding ':i386' at the end of the package name. To do so we can use the `ldd` command to print all the dynamic libraries missing: $ ldd idaq grep found libXext.so.6 =>not found libfreetype.so.6 =>not found libSM.so.6 =>not found libXrender.so.1 =>not found libfontconfig.so.1 =>not found Once we have the list of missing libraries, we need to see from which packaged they come from. Fortunately, in the latest version of Ubuntu it is possible to install almost all the IA32 dependencies by hand following a simple scheme.įirst we need to see which dynamic libraries are not found by the loader.
![installing ida pro linux installing ida pro linux](https://www.aldeid.com/w/images/a/a1/Ida-pro-patch-opcode-1.png)
![installing ida pro linux installing ida pro linux](https://miro.medium.com/max/1104/1*uKPNPskUscBHupbaRLFCew.png)
If anyone knows best open source or paid alternatives it would be helpful. Hey guys, I'm going to be doing a lot of work debugging and disassembling stuff soon and need something like IDA / Hopper for Kali. If I get good response to this post, I will put up a more detailed and in-depth look at malware reversing on Linux. The Linux installer is a self-unpacking binary. The IDA Disassembler and debugger is a multi-processor.