从昨天晚上开始折腾Ubuntu 10.04下的IDA。从网上找了相关的文章但是可能是自己太菜了。折腾了一晚上愣是没搞定。话说今天看完《三国》,在朋友用自己的电脑偷菜完毕之后开始重新折腾IDA,终于有了突破性的进展。
安装方法可以参考这里的这篇文章~
1、download
2、unzip it ,there is an readme in "IDA linux" directory.install follow it
3、 if there is an error saying no libstdc++5.so.o when you try to run it,just install it,you can install it by running apt-get install libstdc++5 in ubuntu.
4、create soft link, change to the /bin directory ,exec the command:
ln -s /usr/local/idapro/IDALinux/idastd/idal
ln -s /usr/local/idapro/IDALinux/idastd/ida.hlp (must modify the directory according yours)
ps:if your apt source don't have libstdc++5,you can change the apt source and try again.
my apt source :
deb jaunty main restricted universe multiverse
deb jaunty-security main restricted universe multiverse
deb jaunty-updates main restricted universe multiverse
deb jaunty-backports main restricted universe multiverse
deb jaunty-proposed main restricted universe multiverse
deb-src jaunty main restricted universe multiverse
deb-src jaunty-security main restricted universe multiverse
deb-src jaunty-updates main restricted universe multiverse
deb-src jaunty-backports main restricted universe multiverse
deb-src jaunty-proposed main restricted universe multiverse
但是有几点说的不够清楚,这里系统的整理了一下:
1.从下载ida pro,不过这个不适最新的5.5版的。
2.解压文件到自己的目录下。原文中说按照提供的Readme文件安装操作即可,其实里面没什么东西,就是把ida.key复制到ida文件目录下即可。
3.默认文件是没有执行权限的,切换到ida目录下,执行sudo chmod 777 idal,修改idal的文件权限,否则会提示找不到命令。
4.即使执行了上面的命令仍旧可能不能正常运行,会提示:no libstdc++5.so.o,需要安装上面提示的这个东西,执行sudo apt-get install libstdc++5。如果提示找不到源,可以sudo gedit /etc/apt/sources.list修改更新源为:
deb jaunty main restricted universe multiverse
deb jaunty-security main restricted universe multiverse
deb jaunty-updates main restricted universe multiverse
deb jaunty-backports main restricted universe multiverse
deb jaunty-proposed main restricted universe multiverse
deb-src jaunty main restricted universe multiverse
deb-src jaunty-security main restricted universe multiverse
deb-src jaunty-updates main restricted universe multiverse
deb-src jaunty-backports main restricted universe multiverse
deb-src jaunty-proposed main restricted universe multiverse
deb jaunty main restricted universe multiversedeb jaunty-security main restricted universe multiversedeb jaunty-updates main restricted universe multiversedeb jaunty-backports main restricted universe multiversedeb jaunty-proposed main restricted universe multiversedeb-src jaunty main restricted universe multiversedeb-src jaunty-security main restricted universe multiversedeb-src jaunty-updates main restricted universe multiversedeb-src jaunty-backports main restricted universe multiversedeb-src jaunty-proposed main restricted universe multiverse
5.现在可以使用ida了,相关readme中已经说明了使用方法。
That’s it, IDA is ready to use. To launch it, use
idal input-file
or
idal64 input-file (for 64-bit advanced version)
最后可以创建软链接,切换到/bin目录下执行:
sudo ln -s /home/obaby/IDALinux/idastd/idal
sudo ln -s /home/obaby/IDALinux/idastd/idal.hlp
需要注意修改文件路径为自己的ida的绝对路径。到此ida就可以使用了,最终效果如文章开始截图所示。