[squid-dev] Compilling squid

Amos Jeffries squid3 at treenet.co.nz
Fri Jul 23 16:00:22 UTC 2021


On 23/07/21 6:00 pm, phenom252525 wrote:
> Hello again, I wrote to you not long ago. I have a question, since I am 
> a novice linux user, I would like to learn how to compile and install 
> the latest squid from source, for example squid 4.15. I have Ubuntu 
> server installed on 18.04.05 with latest updates. In the squid 
> repositories 3.5.27. If you can tell us step by step how to


The Ubuntu instructions are at 
<https://wiki.squid-cache.org/KnowledgeBase/Ubuntu>.


> find out 
> what dependencies are needed for the new version of squid,

Install the Ubuntu Squid integration scripts and packages:
   apt install squid

Install the normal Ubuntu Squid build dependencies:
   apt build-dep squid

For OpenSSL support download the libssl-dev library package as well. It 
is not one of the normal build-dep set.


Download the Squid sources you want to build.

Build those Squid sources the same as any other piece of auto-tools 
based software:
   ./configure
   make check && make install

  Use the Ubuntu-specific parameters for the ./configure command which 
are listed in the wiki page. Plus any others you want to use (eg 
--with-openssl).



> how to find 
> out if the package has been built successfully.

The build process will tell you if there were problems.


> (You need the proxy 
> server to be transparent to browsers, that is, so that squid would 
> generate the certificate itself).

"transparent to browsers" is not possible when TLS is involved.

The whole point of TLS is that it alerts clients (Browser etc) if/when a 
proxy touches any part of the crypto. *Especially* the TLS certificates 
or transferred data.



> I read many articles, tried to build a 
> package on them, but the dependencies change and it is not clear where 
> to look and what to look for. The official squid site is not very clear 
> in the documentation. If you can help, I will be very grateful.
> 
> Your project is really very good, but it takes a titanic effort from a 
> beginner to understand and understand it.
> 

The Squid-users mailing list is the place to go for help using Squid.

This mailing list is for discussions about the code and people wanting 
to do some coding on Squid.


Amos


More information about the squid-dev mailing list