Updated install script
parent
a0310db58e
commit
b246236134
|
@ -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 python-devel m2crypto python-m2ext swig python-iptools python3-iptools
|
dnf install -y python-devel m2crypto python-m2ext swig python-iptools python3-iptools libxml2-devel default-jdk
|
||||||
pip install pycrypto
|
pip install pycrypto
|
||||||
pip install iptools
|
pip install iptools
|
||||||
pip install pydispatcher
|
pip install pydispatcher
|
||||||
|
@ -24,7 +24,7 @@ if lsb_release -d | grep -q "Fedora"; then
|
||||||
pip install dropbox
|
pip install dropbox
|
||||||
elif lsb_release -d | grep -q "Kali"; then
|
elif lsb_release -d | grep -q "Kali"; then
|
||||||
Release=Kali
|
Release=Kali
|
||||||
apt-get install -y python-dev python-m2crypto swig python-pip
|
apt-get install -y python-dev python-m2crypto swig python-pip libxml2-dev default-jdk
|
||||||
pip install pycrypto
|
pip install pycrypto
|
||||||
pip install iptools
|
pip install iptools
|
||||||
pip install pydispatcher
|
pip install pydispatcher
|
||||||
|
@ -33,7 +33,7 @@ elif lsb_release -d | grep -q "Kali"; then
|
||||||
pip install dropbox
|
pip install dropbox
|
||||||
elif lsb_release -d | grep -q "Ubuntu"; then
|
elif lsb_release -d | grep -q "Ubuntu"; then
|
||||||
Release=Ubuntu
|
Release=Ubuntu
|
||||||
apt-get install -y python-dev python-m2crypto swig python-pip
|
apt-get install -y python-dev python-m2crypto swig python-pip libxml2-dev default-jdk
|
||||||
pip install pycrypto
|
pip install pycrypto
|
||||||
pip install iptools
|
pip install iptools
|
||||||
pip install pydispatcher
|
pip install pydispatcher
|
||||||
|
@ -43,7 +43,7 @@ elif lsb_release -d | grep -q "Ubuntu"; then
|
||||||
pip install dropbox
|
pip install dropbox
|
||||||
else
|
else
|
||||||
echo "Unknown distro - Debian/Ubuntu Fallback"
|
echo "Unknown distro - Debian/Ubuntu Fallback"
|
||||||
apt-get install -y python-dev python-m2crypto swig python-pip
|
apt-get install -y python-dev python-m2crypto swig python-pip libxml2-dev default-jdk
|
||||||
pip install pycrypto
|
pip install pycrypto
|
||||||
pip install iptools
|
pip install iptools
|
||||||
pip install pydispatcher
|
pip install pydispatcher
|
||||||
|
@ -51,7 +51,14 @@ else
|
||||||
pip install macholib
|
pip install macholib
|
||||||
pip install dropbox
|
pip install dropbox
|
||||||
fi
|
fi
|
||||||
|
tar -xvf ../data/misc/xar-1.5.2.tar.gz
|
||||||
|
(cd xar-1.5.2 && ./configure)
|
||||||
|
(cd xar-1.5.2 && make)
|
||||||
|
(cd xar-1.5.2 && make install)
|
||||||
|
git clone https://github.com/hogliux/bomutils.git
|
||||||
|
(cd bomutils && make)
|
||||||
|
(cd bomutils && make install)
|
||||||
|
chmod 755 bomutils/build/bin/mkbom && cp bomutils/build/bin/mkbom /usr/local/bin/mkbom
|
||||||
# set up the database schema
|
# set up the database schema
|
||||||
./setup_database.py
|
./setup_database.py
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue