[squid-users] Ubuntu 24.04 LTS repository for Squid 7.4 (rebuilt from sources in Debian)
Amos Jeffries
squid3 at treenet.co.nz
Thu Feb 5 08:23:26 UTC 2026
Hi Rafael,
On 03/02/2026 20:38, Rafael Akchurin wrote:
> Good morning everyone,
>
> Online repository with latest Squid 7.4 (rebuilt from sources in Debian)
> for Ubuntu 24.04 LTS 64-bit is available at https://github.com/diladele/
> repo-squid-7_4_1-ubuntu-24_04/ <https://github.com/diladele/repo-
> squid-7_4_1-ubuntu-24_04/>.
>
> Github repo https://github.com/diladele/squid-ubuntu <https://
> github.com/diladele/squid-ubuntu> contains all scripts we used to make
> this compilation.
>
> Here are simple instructions how to use the repo.
>
> # get diladele apt key, dearmor it and add to trusted storage
>
> curl https://packages.diladele.com/diladele_pub.asc | gpg --dearmor >/
> etc/apt/trusted.gpg.d/diladele_pub.asc.gpg
>
> # add new repo
>
> echo "deb https://diladele.github.io/repo-squid-7_4_1-ubuntu-24_04/repo/
> ubuntu/ noble main" \
>
> >/etc/apt/sources.list.d/squid-7_4_1.diladele.github.io.list
>
> # and install
>
> apt update && apt install -y \
>
> squid-common \
>
> squid-openssl \
>
> libecap3 libecap3-dev
>
Hmm, you should only need to install "squid-openssl" here.
* squid-common and libecap* are auto-installed as dependencies.
* the *-dev package is only needed to build ecap things from source.
> # create the override folder for squid
>
> mkdir -p /etc/systemd/system/squid.service.d/
>
> # and override the default number of file descriptors
>
> cat >/etc/systemd/system/squid.service.d/override.conf << EOL
>
> [Service]
>
> LimitNOFILE=65535
>
> EOL
>
Okay, though it is better to use squid.conf to set this limit:
max_filedescriptors 65535
> # switch to openssl based squid
>
> update-alternatives --set squid /usr/sbin/squid-openssl
>
> # finally reload the systemd
>
> systemctl daemon-reload
>
That should not be needed anymore. Installing a Debian based
squid-openssl package you should see:
"update-alternatives: using /usr/sbin/squid-openssl to provide
/usr/sbin/squid (squid) in auto mode"
And "squid -v" should contain:
"This binary uses OpenSSL " ...
Cheers
Amos
More information about the squid-users
mailing list