1

What is the proper way to install the Binwalk tool on Debian 7.0 without the added graphing capabilities (and it dependencies)? I've read that I can skip the make deps command, but this deps.sh script installs the required tools, which also includes the Python graphical libraries that I don't want.

EDIT: I uncommented in deps.sh code, that installs python graphing libraries. Is there anything else I should do?

7
  • Looking at most of those dependencies indicates a heavy need for python, as most of them are the python bindings. Are you sure you want to strip Python of power?
    – eyoung100
    Sep 24, 2014 at 14:39
  • Binwalk itself is Python script, I just don't need binwalk’s graphing capabilities, therefore don't need pyqtgraph and its required dependencies (libqt4-opengl, python-opengl, python-qt4, python-qt4-gl, python-numpy, python-scipy).
    – Lexx Luxx
    Sep 24, 2014 at 14:52
  • If the developer doesn't provide a non-graphing option, you may need to contact them. Try forking his repository if you like, and manually remove them.
    – eyoung100
    Sep 24, 2014 at 14:59
  • Its possible to use binwalk without graphing capabilities, I need more specific how to install it without that libraries.
    – Lexx Luxx
    Sep 24, 2014 at 15:39
  • You can't do this unless you modify his python script and remove references to PyQt4, as there is no configure option to disable PyQt4.
    – eyoung100
    Sep 24, 2014 at 15:58

1 Answer 1

1

As Per the instruction manual, you linked above, you want to skip the optional dependencies, so we skip:

sudo apt-get install libqt4-opengl python-opengl python-qt4 python-qt4-gl python-numpy python-scipy
wget -O - http://www.pyqtgraph.org/downloads/pyqtgraph-0.9.8.tar.gz | tar -zxv && cd pyqtgraph-0.9.8 && sudo pyth  

and then during the build/compile phase we skip make deps. In the binwalk source directory, run these commands in this order:

  1. sudo apt-get install build-essential libtool autoconf
  2. ./configure
  3. make
  4. sudo make install

Update

To install the Firmware Mod Kit:

  1. sudo mkdir /opt/firmware-mod-kit/.git
  2. cd /opt/firmware-mod-kit/.git
  3. git clone http://code.google.com/p/firmware-mod-kit
  4. cd /opt/firmware-mod-kit/src
  5. ./configure && sudo make
10
  • And I still need to use deps.sh script I modded (lines 71-74 and 82-85) for installing other stuff?
    – Lexx Luxx
    Sep 24, 2014 at 18:12
  • No you don't need the deps script... the deps script runs when you use make deps but since I advised you to skip it, it's never used.
    – eyoung100
    Sep 24, 2014 at 18:14
  • But I need firmware-mod-kit and it pre-requisites and extraction tools: should I install it separately?
    – Lexx Luxx
    Sep 24, 2014 at 18:32
  • Yes as the instruction I gave you removed the dependencies
    – eyoung100
    Sep 24, 2014 at 18:36
  • Can I do the same using modified deps.sh in make deps step?
    – Lexx Luxx
    Sep 25, 2014 at 18:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.