#!/bin/sh

ver=`uname -r`
echo "Build packages:"
sudo apt-get install -y build-essential
#sudo apt-get install -y linux-headers
sudo apt-get install -y linux-headers-$ver
echo

# Must have
echo "Essentials:"
sudo apt-get install -y --ignore-missing git subversion subversion-tools openssh-server imagemagick bc flip tcpdump zip unzip netcat
echo

echo "Network:"
sudo apt-get install -y --ignore-missing net-tools chkrootkit denyhosts secure-delete hashdeep netcat socat cryptcat dsniff etherape socat tcpdump tshark
echo

#echo "Virtual:"
#sudo apt-get install -y --ignore-missing docker docker.io qemu qemu-kvm qemu-launcher qemu-user qemu-system qemu-utils virtualbox virtualbox-guest-additions-iso
#echo

echo "==========="

# Development
echo "C/C++ Development:"
sudo apt-get install -y --ignore-missing libboost-dev libgd-dev libgd2-dev libgd2-xpm-dev libmuparser-dev libmysqlclient-dev libxml2-dev xutils-dev libbz2-dev libkml-dev liburiparser-dev libpopt-dev libpcap-dev libsodium-dev mingw-w64 clang diffutils patch ctags radare2 autoconf
echo

echo "32 bit Development"
sudo apt-get install -y --ignore-missing libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
echo

echo "Cryptography:"
sudo apt-get install -y --ignore-missing codecrypt libsodium-dev libcrypto++-dev
echo

# Cleanup
sudo apt-get autoremove
sudo apt-get clean
