[原创]Androguard软件安装方法
发表于:
2012-5-24 15:58
20502
折腾了好几天,终于把Androguard给安装好了。由于Androguard对第三方库和系统版本均有要求,所以安装难以成功。介绍安装的资料又比较少,为了让后来者能够顺利的安装上,我就将安装步骤跟大家分享一下,文章主要参考http://blog.claudxiao.net/2011/06/androguard_installation/,但是ubuntu版本必须是10.04而非上面说的11.04,另外一些库文件的地址也更换了,否则安装会不成功或下载不了。
打开ubuntu10.04终端,输入命令
sudo apt-get install subversion
sudo apt-get install mercurial
sudo apt-get install git
安装Python 2.6
sudo apt-get install python2.6 python2.6-dev
sudo rm /usr/bin/python
sudo ln -s /usr/bin/python2.6 /usr/bin/python
安装 psyco
svn co http://codespeak.net/svn/psyco/dist/ psyco-dist
cd psyco-dist
sudo python setup.py install
安装networkx
hg clone http://networkx.lanl.gov/hg/networkx networkx-1.5
cd networkx-1.5
sudo python setup.py install
安装IPython
git clone https://github.com/ipython/ipython
cd ipython
sudo python setup.py install
安装python-ptrace
hg clone https://bitbucket.org/haypo/python-ptrace
cd python-ptrace
sudo python setup.py install
安装 pyparsing
svn co https://pyparsing.svn.sourceforge.net/svnroot/pyparsing pyparsing
cd pyparsing/src
sudo python setup.py install
安装Graphviz
sudo apt-get install graphviz
安装pydot
svn checkout http://pydot.googlecode.com/svn/trunk/ pydot-read-only
cd pydot-read-only
sudo python setup.py install
安装Chilkat Zip
从http://www.chilkatsoft.com/download/chilkat-9.2.0-python-2.6-i686-linux.tar.gz下载chilkat-9.2.0-python-2.6-i686-linux.tar.gz
sudo tar xzvf chilkat-9.2.0-Python-2.6-i686-linux.tar.gz -C /
安装setuptools
wget http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg
chmod a+x setuptools-0.6c11-py2.6.egg
sudo ./setuptools-0.6c11-py2.6.egg
安装python-magic
git clone git://github.com/ahupp/python-magic.git
cd python-magic
sudo python setup.py install
安装pyfuzzy
从http://sourceforge.net/projects/pyfuzzy/files/pyfuzzy/pyfuzzy-0.1.0/下载pyfuzzy-0.1.0.tar.gz :
tar xzvf pyfuzzy-0.1.0.tar.gz
cd pyfuzzy-0.1.0
sudo python setup.py install
安装pygments
hg clone http://bitbucket.org/birkenfeld/pygments-main pygments
cd pygments-main
sudo python setup.py install
安装Androguard
hg clone https://androguard.googlecode.com/hg/ androguard
至此,所需要的库安装完成。输入命令cd /androguard进入androguard目录,然后make就OK了。
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课