ec7bca810938b4150cb37d932e57e8f215c8a43b
[privoxy.git] / doc / webserver / user-manual / installation.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
3 <html>
4 <head>
5   <title>Installation</title>
6   <meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.79">
7   <link rel="HOME" title="Privoxy 3.0.29 User Manual" href="index.html">
8   <link rel="PREVIOUS" title="Introduction" href="introduction.html">
9   <link rel="NEXT" title="What's New in this Release" href="whatsnew.html">
10   <link rel="STYLESHEET" type="text/css" href="../p_doc.css">
11   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
12   <link rel="STYLESHEET" type="text/css" href="p_doc.css">
13 </head>
14 <body class="SECT1" bgcolor="#EEEEEE" text="#000000" link="#0000FF" vlink="#840084" alink="#0000FF">
15   <div class="NAVHEADER">
16     <table summary="Header navigation table" width="100%" border="0" cellpadding="0" cellspacing="0">
17       <tr>
18         <th colspan="3" align="center">Privoxy 3.0.29 User Manual</th>
19       </tr>
20       <tr>
21         <td width="10%" align="left" valign="bottom"><a href="introduction.html" accesskey="P">Prev</a></td>
22         <td width="80%" align="center" valign="bottom"></td>
23         <td width="10%" align="right" valign="bottom"><a href="whatsnew.html" accesskey="N">Next</a></td>
24       </tr>
25     </table>
26     <hr align="left" width="100%">
27   </div>
28   <div class="SECT1">
29     <h1 class="SECT1"><a name="INSTALLATION" id="INSTALLATION">2. Installation</a></h1>
30     <p><span class="APPLICATION">Privoxy</span> is available both in convenient pre-compiled packages for a wide range
31     of operating systems, and as raw source code. For most users, we recommend using the packages, which can be
32     downloaded from our <a href="https://sourceforge.net/projects/ijbswa/" target="_top">Privoxy Project Page</a>.</p>
33     <p>Note: On some platforms, the installer may remove previously installed versions, if found. (See below for your
34     platform). In any case <span class="emphasis"><i class="EMPHASIS">be sure to backup your old configuration if it is
35     valuable to you.</i></span> See the <a href="whatsnew.html#UPGRADERSNOTE">note to upgraders</a> section below.</p>
36     <div class="SECT2">
37       <h2 class="SECT2"><a name="INSTALLATION-PACKAGES" id="INSTALLATION-PACKAGES">2.1. Binary Packages</a></h2>
38       <p>How to install the binary packages depends on your operating system:</p>
39       <div class="SECT3">
40         <h3 class="SECT3"><a name="INSTALLATION-DEB" id="INSTALLATION-DEB">2.1.1. Debian and Ubuntu</a></h3>
41         <p>DEBs can be installed with <tt class="LITERAL">apt-get install privoxy</tt>, and will use <tt class=
42         "FILENAME">/etc/privoxy</tt> for the location of configuration files.</p>
43       </div>
44       <div class="SECT3">
45         <h3 class="SECT3"><a name="INSTALLATION-PACK-WIN" id="INSTALLATION-PACK-WIN">2.1.2. Windows</a></h3>
46         <p>Just double-click the installer, which will guide you through the installation process. You will find the
47         configuration files in the same directory as you installed <span class="APPLICATION">Privoxy</span> in.</p>
48         <p>Version 3.0.5 beta introduced full <span class="APPLICATION">Windows</span> service functionality. On
49         Windows only, the <span class="APPLICATION">Privoxy</span> program has two new command line arguments to
50         install and uninstall <span class="APPLICATION">Privoxy</span> as a <span class="emphasis"><i class=
51         "EMPHASIS">service</i></span>.</p>
52         <div class="VARIABLELIST">
53           <dl>
54             <dt>Arguments:</dt>
55             <dd>
56               <p><tt class="REPLACEABLE"><i>--install</i></tt>[:<tt class="REPLACEABLE"><i>service_name</i></tt>]</p>
57               <p><tt class="REPLACEABLE"><i>--uninstall</i></tt>[:<tt class="REPLACEABLE"><i>service_name</i></tt>]</p>
58             </dd>
59           </dl>
60         </div>
61         <p>After invoking <span class="APPLICATION">Privoxy</span> with <b class="COMMAND">--install</b>, you will need
62         to bring up the <span class="APPLICATION">Windows</span> service console to assign the user you want
63         <span class="APPLICATION">Privoxy</span> to run under, and whether or not you want it to run whenever the
64         system starts. You can start the <span class="APPLICATION">Windows</span> services console with the following
65         command: <b class="COMMAND">services.msc</b>. If you do not take the manual step of modifying <span class=
66         "APPLICATION">Privoxy's</span> service settings, it will not start. Note too that you will need to give Privoxy
67         a user account that actually exists, or it will not be permitted to write to its log and configuration
68         files.</p>
69       </div>
70       <div class="SECT3">
71         <h3 class="SECT3"><a name="INSTALLATION-OS2" id="INSTALLATION-OS2">2.1.3. OS/2</a></h3>
72         <p>First, make sure that no previous installations of <span class="APPLICATION">Junkbuster</span> and / or
73         <span class="APPLICATION">Privoxy</span> are left on your system. Check that no <span class=
74         "APPLICATION">Junkbuster</span> or <span class="APPLICATION">Privoxy</span> objects are in your startup
75         folder.</p>
76         <p>Then, just double-click the WarpIN self-installing archive, which will guide you through the installation
77         process. A shadow of the <span class="APPLICATION">Privoxy</span> executable will be placed in your startup
78         folder so it will start automatically whenever OS/2 starts.</p>
79         <p>The directory you choose to install <span class="APPLICATION">Privoxy</span> into will contain all of the
80         configuration files.</p>
81       </div>
82       <div class="SECT3">
83         <h3 class="SECT3"><a name="INSTALLATION-MAC" id="INSTALLATION-MAC">2.1.4. Mac OS X</a></h3>
84         <p>Installation instructions for the OS X platform depend upon whether you downloaded a ready-built
85         installation package (.pkg or .mpkg) or have downloaded the source code.</p>
86       </div>
87       <div class="SECT3">
88         <h4 class="SECT3"><a name="OS-X-INSTALL-FROM-PACKAGE" id="OS-X-INSTALL-FROM-PACKAGE">2.1.5. Installation from
89         ready-built package</a></h4>
90         <p>The downloaded file will either be a .pkg (for OS X 10.5 upwards) or a bzipped .mpkg file (for OS X 10.4).
91         The former can be double-clicked as is and the installation will start; double-clicking the latter will unzip
92         the .mpkg file which can then be double-clicked to commence the installation.</p>
93         <p>The privoxy service will automatically start after a successful installation (and thereafter every time your
94         computer starts up) however you will need to configure your web browser(s) to use it. To do so, configure them
95         to use a proxy for HTTP and HTTPS at the address 127.0.0.1:8118.</p>
96         <p>To prevent the privoxy service from automatically starting when your computer starts up, remove or rename
97         the file <tt class="LITERAL">/Library/LaunchDaemons/org.ijbswa.privoxy.plist</tt> (on OS X 10.5 and higher) or
98         the folder named <tt class="LITERAL">/Library/StartupItems/Privoxy</tt> (on OS X 10.4 'Tiger').</p>
99         <p>To manually start or stop the privoxy service, use the scripts startPrivoxy.sh and stopPrivoxy.sh supplied
100         in /Applications/Privoxy. They must be run from an administrator account, using sudo.</p>
101         <p>To uninstall, run /Applications/Privoxy/uninstall.command as sudo from an administrator account.</p>
102       </div>
103       <div class="SECT3">
104         <h4 class="SECT3"><a name="OS-X-INSTALL-FROM-SOURCE" id="OS-X-INSTALL-FROM-SOURCE">2.1.6. Installation from
105         source</a></h4>
106         <p>To build and install the Privoxy source code on OS X you will need to obtain the macsetup module from the
107         Privoxy Sourceforge CVS repository (refer to Sourceforge help for details of how to set up a CVS client to have
108         read-only access to the repository). This module contains scripts that leverage the usual open-source tools
109         (available as part of Apple's free of charge Xcode distribution or via the usual open-source software package
110         managers for OS X (MacPorts, Homebrew, Fink etc.) to build and then install the privoxy binary and associated
111         files. The macsetup module's README file contains complete instructions for its use.</p>
112         <p>The privoxy service will automatically start after a successful installation (and thereafter every time your
113         computer starts up) however you will need to configure your web browser(s) to use it. To do so, configure them
114         to use a proxy for HTTP and HTTPS at the address 127.0.0.1:8118.</p>
115         <p>To prevent the privoxy service from automatically starting when your computer starts up, remove or rename
116         the file <tt class="LITERAL">/Library/LaunchDaemons/org.ijbswa.privoxy.plist</tt> (on OS X 10.5 and higher) or
117         the folder named <tt class="LITERAL">/Library/StartupItems/Privoxy</tt> (on OS X 10.4 'Tiger').</p>
118         <p>To manually start or stop the privoxy service, use the Privoxy Utility for Mac OS X (also part of the
119         macsetup module). This application can start and stop the privoxy service and display its log and configuration
120         files.</p>
121         <p>To uninstall, run the macsetup module's uninstall.sh as sudo from an administrator account.</p>
122       </div>
123       <div class="SECT3">
124         <h3 class="SECT3"><a name="INSTALLATION-FREEBSD" id="INSTALLATION-FREEBSD">2.1.7. FreeBSD</a></h3>
125         <p>Privoxy is part of FreeBSD's Ports Collection, you can build and install it with <tt class="LITERAL">cd
126         /usr/ports/www/privoxy; make install clean</tt>.</p>
127       </div>
128     </div>
129     <div class="SECT2">
130       <h2 class="SECT2"><a name="INSTALLATION-SOURCE" id="INSTALLATION-SOURCE">2.2. Building from Source</a></h2>
131       <p>The most convenient way to obtain the <span class="APPLICATION">Privoxy</span> source code is to download the
132       source tarball from our <a href="https://sourceforge.net/projects/ijbswa/files/Sources/" target="_top">project
133       download page</a>, or you can get the up-to-the-minute, possibly unstable, development version from <a href=
134       "https://www.privoxy.org/" target="_top">https://www.privoxy.org/</a>.</p>
135       <p>To build <span class="APPLICATION">Privoxy</span> from source, <a href=
136       "http://www.gnu.org/software/autoconf/autoconf.html" target="_top">autoconf</a>, <a href=
137       "http://www.gnu.org/software/make/make.html" target="_top">GNU make (gmake)</a>, and, of course, a C compiler
138       like <a href="http://www.gnu.org/software/gcc/gcc.html" target="_top">gcc</a> are required.</p>
139       <p>When building from a source tarball, first unpack the source:</p>
140       <table border="0" bgcolor="#E0E0E0" width="100%">
141         <tr>
142           <td>
143             <pre class="SCREEN"> tar xzvf privoxy-3.0.29-beta-src.tar.gz
144  cd privoxy-3.0.29-beta</pre>
145           </td>
146         </tr>
147       </table>
148       <p>To build the development version, you can get the source code by doing:</p>
149       <table border="0" bgcolor="#E0E0E0" width="100%">
150         <tr>
151           <td>
152             <pre class="SCREEN">  cd &lt;root-dir&#62;
153   git clone https://www.privoxy.org/git/privoxy.git</pre>
154           </td>
155         </tr>
156       </table>
157       <p>This will create a directory named <tt class="FILENAME">&lt;root-dir&#62;/privoxy/</tt>, which will contain
158       the source tree.</p>
159       <p>Note that source code in Git is development quality, and may not be stable or well tested.</p>
160       <p>It is strongly recommended to not run <span class="APPLICATION">Privoxy</span> as root. You should
161       configure/install/run <span class="APPLICATION">Privoxy</span> as an unprivileged user, preferably by creating a
162       <span class="QUOTE">"privoxy"</span> user and group just for this purpose. See your local documentation for the
163       correct command line to do add new users and groups (something like <b class="COMMAND">adduser</b>, but the
164       command syntax may vary from platform to platform).</p>
165       <p><tt class="FILENAME">/etc/passwd</tt> might then look like:</p>
166       <table border="0" bgcolor="#E0E0E0" width="100%">
167         <tr>
168           <td>
169             <pre class="SCREEN">  privoxy:*:7777:7777:privoxy proxy:/no/home:/no/shell</pre>
170           </td>
171         </tr>
172       </table>
173       <p>And then <tt class="FILENAME">/etc/group</tt>, like:</p>
174       <table border="0" bgcolor="#E0E0E0" width="100%">
175         <tr>
176           <td>
177             <pre class="SCREEN">  privoxy:*:7777:</pre>
178           </td>
179         </tr>
180       </table>
181       <p>Some binary packages may do this for you.</p>
182       <p>Then, to build from either unpacked tarball or Git checkout:</p>
183       <table border="0" bgcolor="#E0E0E0" width="100%">
184         <tr>
185           <td>
186             <pre class="SCREEN"> autoheader
187  autoconf
188  ./configure      # (--help to see options)
189  make             # (the make from GNU, sometimes called gmake)
190  su               # Possibly required
191  make -n install  # (to see where all the files will go)
192  make -s install  # (to really install, -s to silence output)</pre>
193           </td>
194         </tr>
195       </table>
196       <p>Using GNU <b class="COMMAND">make</b>, you can have the first four steps automatically done for you by just
197       typing:</p>
198       <table border="0" bgcolor="#E0E0E0" width="100%">
199         <tr>
200           <td>
201             <pre class="SCREEN">  make</pre>
202           </td>
203         </tr>
204       </table>
205       <p>in the freshly downloaded or unpacked source directory.</p>
206       <p>To build an executable with security enhanced features so that users cannot easily bypass the proxy (e.g.
207       <span class="QUOTE">"Go There Anyway"</span>), or alter their own configurations, <b class=
208       "COMMAND">configure</b> like this:</p>
209       <table border="0" bgcolor="#E0E0E0" width="100%">
210         <tr>
211           <td>
212             <pre class="SCREEN"> ./configure  --disable-toggle  --disable-editor  --disable-force</pre>
213           </td>
214         </tr>
215       </table>
216       <p>Note that all of these options can also be disabled through the configuration file.</p>
217       <p><span class="emphasis"><i class="EMPHASIS">WARNING:</i></span> If installing as root, the install will fail
218       unless a non-root user or group is specified, or a <tt class="LITERAL">privoxy</tt> user and group already exist
219       on the system. If a non-root user is specified, and no group, then the installation will try to also use a group
220       of the same name as <span class="QUOTE">"user"</span>. If a group is specified (and no user), then the support
221       files will be installed as writable by that group, and owned by the user running the installation.</p>
222       <p><b class="COMMAND">configure</b> accepts <tt class="LITERAL">--with-user</tt> and <tt class=
223       "LITERAL">--with-group</tt> options for setting user and group ownership of the configuration files (which need
224       to be writable by the daemon). The specified <span class="emphasis"><i class="EMPHASIS">user must already
225       exist</i></span>. When starting <span class="APPLICATION">Privoxy</span>, it must be run as this same user to
226       insure write access to configuration and log files!</p>
227       <p>Alternately, you can specify <tt class="LITERAL">user</tt> and <tt class="LITERAL">group</tt> on the <b class=
228       "COMMAND">make</b> command line, but be sure both already exist:</p>
229       <table border="0" bgcolor="#E0E0E0" width="100%">
230         <tr>
231           <td>
232             <pre class="SCREEN"> make -s install  USER=privoxy GROUP=privoxy</pre>
233           </td>
234         </tr>
235       </table>
236       <p>The default installation path for <b class="COMMAND">make install</b> is <tt class="FILENAME">/usr/local</tt>.
237       This may of course be customized with the various <b class="COMMAND">./configure</b> path options. If you are
238       doing an install to anywhere besides <tt class="FILENAME">/usr/local</tt>, be sure to set the appropriate paths
239       with the correct configure options (<b class="COMMAND">./configure --help</b>). Non-privileged users must of
240       course have write access permissions to wherever the target installation is going.</p>
241       <p>If you do install to <tt class="FILENAME">/usr/local</tt>, the install will use <tt class=
242       "LITERAL">sysconfdir=$prefix/etc/privoxy</tt> by default. All other destinations, and the direct usage of
243       <tt class="LITERAL">--sysconfdir</tt> flag behave like normal, i.e. will not add the extra <tt class=
244       "FILENAME">privoxy</tt> directory. This is for a safer install, as there may already exist another program that
245       uses a file with the <span class="QUOTE">"config"</span> name, and thus makes <tt class=
246       "FILENAME">/usr/local/etc</tt> cleaner.</p>
247       <p>If installing to <tt class="FILENAME">/usr/local</tt>, the documentation will go by default to <tt class=
248       "FILENAME">$prefix/share/doc</tt>. But if this directory doesn't exist, it will then try <tt class=
249       "FILENAME">$prefix/doc</tt> and install there before creating a new <tt class="FILENAME">$prefix/share/doc</tt>
250       just for <span class="APPLICATION">Privoxy</span>.</p>
251       <p>Again, if the installs goes to <tt class="FILENAME">/usr/local</tt>, the <tt class=
252       "LITERAL">localstatedir</tt> (ie: <tt class="FILENAME">var/</tt>) will default to <tt class="FILENAME">/var</tt>
253       instead of <tt class="LITERAL">$prefix/var</tt> so the logs will go to <tt class=
254       "FILENAME">/var/log/privoxy/</tt>, and the pid file will be created in <tt class=
255       "FILENAME">/var/run/privoxy.pid</tt>.</p>
256       <p><b class="COMMAND">make install</b> will attempt to set the correct values in <tt class="FILENAME">config</tt>
257       (main configuration file). You should check this to make sure all values are correct. If appropriate, an init
258       script will be installed, but it is up to the user to determine how and where to start <span class=
259       "APPLICATION">Privoxy</span>. The init script should be checked for correct paths and values, if anything other
260       than a default install is done.</p>
261       <p>If install finds previous versions of local configuration files, most of these will not be overwritten, and
262       the new ones will be installed with a <span class="QUOTE">"new"</span> extension. default.action and
263       default.filter <span class="emphasis"><i class="EMPHASIS">will be overwritten</i></span>. You will then need to
264       manually update the other installed configuration files as needed. The default template files <span class=
265       "emphasis"><i class="EMPHASIS">will</i></span> be overwritten. If you have customized, local templates, these
266       should be stored safely in a separate directory and defined in <tt class="FILENAME">config</tt> by the
267       <span class="QUOTE">"templdir"</span> directive. It is of course wise to always back-up any important
268       configuration files <span class="QUOTE">"just in case"</span>. If a previous version of <span class=
269       "APPLICATION">Privoxy</span> is already running, you will have to restart it manually.</p>
270       <p>For more detailed instructions on how to build Redhat RPMs, Windows self-extracting installers, building on
271       platforms with special requirements etc, please consult the <a href=
272       "https://www.privoxy.org/developer-manual/newrelease.html" target="_top">developer manual</a>.</p>
273       <div class="SECT3">
274         <h3 class="SECT3"><a name="WINBUILD-CYGWIN" id="WINBUILD-CYGWIN">2.2.1. Windows</a></h3>
275         <div class="SECT4">
276           <h4 class="SECT4"><a name="WINBUILD-SETUP" id="WINBUILD-SETUP">2.2.1.1. Setup</a></h4>
277           <p>Install the Cygwin utilities needed to build <span class="APPLICATION">Privoxy</span>. If you have a 64
278           bit CPU (which most people do by now), get the Cygwin setup-x86_64.exe program <a href=
279           "https://cygwin.com/setup-x86_64.exe" target="_top">here</a> (the .sig file is <a href=
280           "https://cygwin.com/setup-x86_64.exe.sig" target="_top">here</a>).</p>
281           <p>Run the setup program and from View / Category select:</p>
282           <table border="0" bgcolor="#E0E0E0" width="100%">
283             <tr>
284               <td>
285                 <pre class="SCREEN">  Devel
286     autoconf 2.5
287     automake 1.15
288     binutils
289     cmake
290     gcc-core
291     gcc-g++
292     git
293     make
294     mingw64-i686-gcc-core
295     mingw64-i686-zlib
296   Editors
297     vim
298   Libs
299     libxslt: GNOME XSLT library (runtime)
300   Net
301     curl
302     openssh
303   Text
304     docbook-dssl
305     docbook-sgml31
306     docbook-utils
307     openjade
308   Utils
309     gnupg
310   Web
311     w3m</pre>
312               </td>
313             </tr>
314           </table>
315           <p>If you haven't already downloaded the Privoxy source code, get it now:</p>
316           <table border="0" bgcolor="#E0E0E0" width="100%">
317             <tr>
318               <td>
319                 <pre class="SCREEN">  mkdir &lt;root-dir&#62;
320   cd &lt;root-dir&#62;
321   git clone https://www.privoxy.org/git/privoxy.git</pre>
322               </td>
323             </tr>
324           </table>
325           <p>Get the source code (.zip or .tar.gz) for tidy from <a href="https://github.com/htacg/tidy-html5/releases"
326           target="_top">https://github.com/htacg/tidy-html5/releases</a>, unzip into &lt;root-dir&#62; and build the
327           software:</p>
328           <table border="0" bgcolor="#E0E0E0" width="100%">
329             <tr>
330               <td>
331                 <pre class="SCREEN">  cd &lt;root-dir&#62;
332   cd tidy-html5-x.y.z/build/cmake
333   cmake ../.. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIB:BOOL=OFF -DCMAKE_INSTALL_PREFIX=/usr/local
334   make &#38;&#38; make install</pre>
335               </td>
336             </tr>
337           </table>
338           <p>If you want to be able to make a Windows release package, get the NSIS .zip file from <a href=
339           "https://sourceforge.net/projects/nsis/files/NSIS%203/" target=
340           "_top">https://sourceforge.net/projects/nsis/files/NSIS%203/</a> and extract the NSIS directory to <tt class=
341           "LITERAL">privoxy/windows</tt>. Then edit the windows/GNUmakefile to set the location of the NSIS executable
342           - eg:</p>
343           <table border="0" bgcolor="#E0E0E0" width="100%">
344             <tr>
345               <td>
346                 <pre class="SCREEN"># Path to NSIS
347 MAKENSIS = ./nsis/makensis.exe</pre>
348               </td>
349             </tr>
350           </table>
351         </div>
352         <div class="SECT4">
353           <h4 class="SECT4"><a name="WINBUILD-BUILD" id="WINBUILD-BUILD">2.2.1.2. Build</a></h4>
354           <p>To build just the Privoxy executable and not the whole installation package, do:</p>
355           <table border="0" bgcolor="#E0E0E0" width="100%">
356             <tr>
357               <td>
358                 <pre class="PROGRAMLISTING">  cd &lt;root-dir&#62;/privoxy
359   ./windows/MYconfigure &#38;&#38; make</pre>
360               </td>
361             </tr>
362           </table>
363           <p>Privoxy uses the <a href="https://en.wikipedia.org/wiki/GNU_build_system" target="_top">GNU Autotools</a>
364           for building software, so the process is:</p>
365           <table border="0" bgcolor="#E0E0E0" width="100%">
366             <tr>
367               <td>
368                 <pre class="PROGRAMLISTING">  $ autoheader              # creates config.h.in
369   $ autoconf                # uses config.h.in to create the configure shell script
370   $ ./configure [options]   # creates GNUmakefile
371   $ make        [options]   # builds the program</pre>
372               </td>
373             </tr>
374           </table>
375           <p>The usual <tt class="LITERAL">configure</tt> options for building a native Windows application under
376           cygwin are</p>
377           <table border="0" bgcolor="#E0E0E0" width="100%">
378             <tr>
379               <td>
380                 <pre class="LITERALLAYOUT">  --host=i686-w64-mingw32
381   --enable-mingw32
382   --enable-zlib
383   --enable-static-linking
384   --disable-pthread
385   --disable-dynamic-pcre</pre>
386               </td>
387             </tr>
388           </table>
389           <p>You can set the <tt class="LITERAL">CFLAGS</tt> and <tt class="LITERAL">LDFLAGS</tt> envars before running
390           <tt class="LITERAL">configure</tt> to set compiler and linker flags. For example:</p>
391           <table border="0" bgcolor="#E0E0E0" width="100%">
392             <tr>
393               <td>
394                 <pre class="PROGRAMLISTING">  $ export CFLAGS="-O2"              # set gcc optimization level
395   $ export LDFLAGS="-Wl,--nxcompat"  # Enable DEP
396   $ ./configure --host=i686-w64-mingw32 --enable-mingw32  --enable-zlib \
397   &#62;             --enable-static-linking --disable-pthread --disable-dynamic-pcre
398   $ make                             # build Privoxy</pre>
399               </td>
400             </tr>
401           </table>
402           <p>See the <a href="../developer-manual/newrelease.html#NEWRELEASE-WINDOWS" target="_top">Developer's
403           Manual</a> for building a Windows release package.</p>
404         </div>
405       </div>
406     </div>
407     <div class="SECT2">
408       <h2 class="SECT2"><a name="INSTALLATION-KEEPUPDATED" id="INSTALLATION-KEEPUPDATED">2.3. Keeping your Installation
409       Up-to-Date</a></h2>
410       <p>If you wish to receive an email notification whenever we release updates of <span class=
411       "APPLICATION">Privoxy</span> or the actions file, <a href=
412       "https://lists.privoxy.org/mailman/listinfo/privoxy-announce" target="_top">subscribe to our announce mailing
413       list</a>, privoxy-announce@lists.privoxy.org.</p>
414       <p>In order not to lose your personal changes and adjustments when updating to the latest <tt class=
415       "LITERAL">default.action</tt> file we <span class="emphasis"><i class="EMPHASIS">strongly recommend</i></span>
416       that you use <tt class="LITERAL">user.action</tt> and <tt class="LITERAL">user.filter</tt> for your local
417       customizations of <span class="APPLICATION">Privoxy</span>. See the <a href="actions-file.html">Chapter on
418       actions files</a> for details.</p>
419     </div>
420   </div>
421   <div class="NAVFOOTER">
422     <hr align="left" width="100%">
423     <table summary="Footer navigation table" width="100%" border="0" cellpadding="0" cellspacing="0">
424       <tr>
425         <td width="33%" align="left" valign="top"><a href="introduction.html" accesskey="P">Prev</a></td>
426         <td width="34%" align="center" valign="top"><a href="index.html" accesskey="H">Home</a></td>
427         <td width="33%" align="right" valign="top"><a href="whatsnew.html" accesskey="N">Next</a></td>
428       </tr>
429       <tr>
430         <td width="33%" align="left" valign="top">Introduction</td>
431         <td width="34%" align="center" valign="top">&nbsp;</td>
432         <td width="33%" align="right" valign="top">What's New in this Release</td>
433       </tr>
434     </table>
435   </div>
436 </body>
437 </html>