User Tools

Site Tools


How to Setup Approx

If you have a few number Debian or Ubuntu machines, you may want to save some bandwidth and speed up package installations. This can be achieved with the help of approx, which is an HTTP-based proxy server for Debian-style package archives. This tutorial is based on Debian 8 (jessie).

Firstly, install the approx package

apt-get install approx

After installation, you need to edit the configuration file of approx that is /etc/approx/approx.conf. My configuration is like this:


Change the debian mirror to your favorite mirror. List of Debian mirrors

There are some parameters for approx which can be seen with man 5 approx.conf command. I did not change any parameter but you may need it. I use approx for my custom debian builds with Simple-CDD so I don't need to change my /etc/apt/sources.list file. If you need, change your sources.list file like this to forward the apt requests to approx.

deb jessie main contrib non-free
deb jessie/updates main contrib non-free
deb-src jessie main contrib non-free

You will save bandwidth and time. Enjoy.


Enter your comment. Wiki syntax is allowed:
linux/debian/approx.txt · Last modified: 2016/01/14 13:15 by ozan