Step 2: Install Build ToolsΒΆ
Warning
This article is now obsolete and no longer updated, please consider switching to Ubuntu 20.04 LTS. The following article describes how to build the latest Squid 4 on Ubuntu 20.04 LTS Build Squid 5 on Ubuntu 20.04 LTS.
In order to rebuild Squid proxy we need to install some prerequisities. Run script 02_tools.sh.
#!/bin/bash
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 cdbs debhelper dh-apparmor dh-autoreconf
# install additional packages for new squid
apt-get -y install \
libsasl2-dev \
libxml2-dev \
libdb-dev \
libkrb5-dev \
nettle-dev \
libnetfilter-conntrack-dev \
libpam0g-dev \
libldap2-dev \
libcppunit-dev \
libexpat1-dev \
libcap2-dev \
libltdl-dev \
libssl-dev \
libdbi-perl \
libsystemd-dev
Press Next to continue to Step 3.