There are several ways how to install androguard.
Debian / Ubuntu¶
Debian has androguard in its repository. You can just install it using
apt install androguard.
All required dependencies are automatically installed.
Install from Source¶
Use git to fetch the sources, then install it. Please install git and python on your own. Beware, that androguard requires python 2.7 or at least 3.3 to work. Pypy >= 5.9.0 should work as well but is not tested. On Windows, there might be some issues with the magic library. Usually the Anaconda suite works fine!
git clone --recursive https://github.com/androguard/androguard.git cd androguard pip install .[magic]
if you like to install the GUI as well, use
pip install .[magic,GUI,graphing]
The dependencies, defined in
setup.py will be automatically installed.
If you are installing the libraries using
pip, make sure you download the correct packages.
For example, there are a lot of implemenations of the
Get the one, that is shipped with the file command (See [Fine Free File Command](http://www.darwinsys.com/file/)) or use filemagic, which should work as well.