Added easy_install pip

mdns
rvrsh3ll 2017-02-26 21:00:58 -05:00
parent 35fd51d166
commit 5b1b36ec13
1 changed files with 7 additions and 4 deletions

View File

@ -15,7 +15,7 @@ fi
version=$( lsb_release -r | grep -oP "[0-9]+" | head -1 ) version=$( lsb_release -r | grep -oP "[0-9]+" | head -1 )
if lsb_release -d | grep -q "Fedora"; then if lsb_release -d | grep -q "Fedora"; then
Release=Fedora 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 setuptools
pip install pycrypto pip install pycrypto
pip install iptools pip install iptools
@ -28,7 +28,8 @@ if lsb_release -d | grep -q "Fedora"; then
pip install zlib_wrapper pip install zlib_wrapper
elif lsb_release -d | grep -q "Kali"; then elif lsb_release -d | grep -q "Kali"; then
Release=Kali 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 setuptools
pip install pycrypto pip install pycrypto
pip install iptools pip install iptools
@ -41,7 +42,8 @@ elif lsb_release -d | grep -q "Kali"; then
pip install zlib_wrapper pip install zlib_wrapper
elif lsb_release -d | grep -q "Ubuntu"; then elif lsb_release -d | grep -q "Ubuntu"; then
Release=Ubuntu 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 setuptools
pip install pycrypto pip install pycrypto
pip install iptools pip install iptools
@ -55,7 +57,8 @@ elif lsb_release -d | grep -q "Ubuntu"; then
pip install zlib_wrapper pip install zlib_wrapper
else else
echo "Unknown distro - Debian/Ubuntu Fallback" 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 setuptools
pip install pycrypto pip install pycrypto
pip install iptools pip install iptools