Time for action – installing Squid
The successful compilation of the source code in the previous section will generate the required programs depending on the features and packages we have enabled or disabled. However, they should be moved to their designated locations, so that they can be used. Let's perform the final steps of the installation.
Depending on the
${prefix}
, we may need root or super user privileges for installing Squid. If root or super user privileges are needed, we should first switch to root or super user by using the following command:su
Now all we need to do is to run the
make
command withinstall
as the argument:make install
This will install or simply move programs to their designated locations, depending on the path used with the
--prefix
option while running theconfigure
program.
What just happened?
We just learned how to perform the final step in installing Squid, which is to place the generated programs and other essential files in their designated locations.