Commit e192d750 by devttys0

Removed pyqtgraph from deps.sh

parent 4464ca72
......@@ -29,19 +29,12 @@ see below for manaully installing dependencies / extraction utilities.
MANUALLY INSTALLING DEPENDENCIES
-----------------------------------------
Most binwalk features will work out of the box without any additional dependencies. However, to take full advantage
of binwalk's graphing capabilities, you need to install the pyqtgraph Python module.
You'll need to install the dependencies for pyqtgraph (you may also need to install OpenGL drivers for your video card):
Most binwalk features will work out of the box without any additional dependencies. However, to take advantage
of binwalk's graphing capabilities, you need to install the following dependencies (you may also need to install
OpenGL drivers for your video card):
$ sudo apt-get install libqt4-opengl python-opengl python-qt4 python-qt4-gl python-numpy python-scipy
Most distros don't have pyqtgraph in their default repositories, so it's best to install it from source:
$ wget http://www.pyqtgraph.org/downloads/pyqtgraph-0.9.8.tar.gz
$ tar -zxvf pyqtgraph-0.9.8.tar.gz
$ cd pyqtgraph-0.9.8 && sudo ./setup.py install
MANUALLY INSTALLING EXTRACTION UTILITIES
......
......@@ -53,33 +53,6 @@ function fmk
cd -
}
function pyqtgraph
{
SITE="http://www.pyqtgraph.org/downloads/"
VERSION="0.9.8"
OUTFILE="pyqtgraph-$VERSION.tar.gz"
URL="$SITE$OUTFILE"
pyopengl
echo "Downloading '$URL'..."
wget "$URL"
if [ -e "$OUTFILE" ]
then
echo "Installing pyqtgraph..."
tar -zxvf "$OUTFILE"
cd "pyqtgraph-$VERSION" && $SUDO python ./setup.py install && cd ..
if [ "$(which python3)" != "" ]
then
cd "pyqtgraph-$VERSION" && $SUDO python3 ./setup.py install && cd ..
fi
$SUDO rm -rf "pyqtgraph-$VERSION" "$OUTFILE"
else
echo "ERROR: Failed to download '$URL'!"
echo "pyqtgraph not installed."
fi
}
function debian
{
......@@ -98,8 +71,6 @@ function debian
then
$SUDO apt-get -y install python3-pyqt4 python3-numpy python3-scipy
fi
pyqtgraph
}
function redhat
......@@ -111,8 +82,6 @@ function redhat
then
$SUDO yum -y install python3-pyqt4 python3-numpy python3-scipy
fi
pyqtgraph
}
if [ "$1" == "" ] || [ "$1" == "--sumount" ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment