Step 3: Install Build Tools

Squid present in default Debian 10 repository does not contain necessary compiler switches for HTTPS filtering and SSL Bumping. We will need to rebuild it from scratch. In order to do that we need some tools installed. Run script 03_tools.sh to install those.

#!/bin/bash

# all packages are installed as root
if [[ $EUID -ne 0 ]]; then
   echo "This script must be run as root" 1>&2
   exit 1
fi

# install build tools
apt-get -y install \
    devscripts build-essential fakeroot \
    debhelper dh-autoreconf dh-apparmor cdbs ed net-tools

# install additional header packages for squid 4
apt-get -y install \
    libcppunit-dev \
    libsasl2-dev \
    libxml2-dev \
    libkrb5-dev \
    libdb-dev \
    libnetfilter-conntrack-dev \
    libexpat1-dev \
    libcap2-dev \
    libldap2-dev \
    libpam0g-dev \
    libgnutls28-dev \
    libssl-dev \
    libdbi-perl \
    libecap3 \
    libecap3-dev

# install build dependences for squid
apt-get -y build-dep squid

Press Next to continue to Step 4.