From 5b1b36ec13982814025dcdb8bea80e7879b6aa9a Mon Sep 17 00:00:00 2001 From: rvrsh3ll Date: Sun, 26 Feb 2017 21:00:58 -0500 Subject: [PATCH] Added easy_install pip --- setup/install.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/setup/install.sh b/setup/install.sh index 2a6b608..bf7ff3f 100755 --- a/setup/install.sh +++ b/setup/install.sh @@ -15,7 +15,7 @@ fi version=$( lsb_release -r | grep -oP "[0-9]+" | head -1 ) if lsb_release -d | grep -q "Fedora"; then Release=Fedora - dnf install -y make g++ python-pip python-devel m2crypto python-m2ext swig python-iptools python3-iptools libxml2-devel default-jdk openssl-devel + dnf install -y make g++ python-devel m2crypto python-m2ext swig python-iptools python3-iptools libxml2-devel default-jdk openssl-devel pip install setuptools pip install pycrypto pip install iptools @@ -28,7 +28,8 @@ if lsb_release -d | grep -q "Fedora"; then pip install zlib_wrapper elif lsb_release -d | grep -q "Kali"; then Release=Kali - apt-get install -y make g++ python-pip python-dev python-m2crypto swig python-pip libxml2-dev default-jdk libssl-dev + apt-get install -y make g++ python-dev python-m2crypto swig libxml2-dev default-jdk libssl-dev + easy_install pip pip install setuptools pip install pycrypto pip install iptools @@ -41,7 +42,8 @@ elif lsb_release -d | grep -q "Kali"; then pip install zlib_wrapper elif lsb_release -d | grep -q "Ubuntu"; then Release=Ubuntu - apt-get install -y make g++ python-pip python-dev python-m2crypto swig python-pip libxml2-dev default-jdk libssl-dev + apt-get install -y make g++ python-dev python-m2crypto swig libxml2-dev default-jdk libssl-dev + easy_install pip pip install setuptools pip install pycrypto pip install iptools @@ -55,7 +57,8 @@ elif lsb_release -d | grep -q "Ubuntu"; then pip install zlib_wrapper else echo "Unknown distro - Debian/Ubuntu Fallback" - apt-get install -y make g++ python-pip python-dev python-m2crypto swig python-pip libxml2-dev default-jdk libffi-dev libssl-dev + apt-get install -y make g++ python-dev python-m2crypto swig libxml2-dev default-jdk libffi-dev libssl-dev + easy_install pip pip install setuptools pip install pycrypto pip install iptools