Limit the download speed of apt-get

Sometimes it is nice to limit the download speed of apt-get.

The way I do this is to create a file “/etc/apt/apt.conf.d/76download” and enter the following to it

Acquire{Queue-mode "access";http{Dl-Limit "50";};};

This will limit apt-get to at most 50 kb/s for apt-get.
Some other how to’s suggest the use of dl-limit but be adviced, dl-limit is per each connection apt-get does (normally it does 2 at a time); the one used above caps apt-get in total.

One thought on “Limit the download speed of apt-get

  1. Make it easy..

    sudo su
    echo ‘Acquire{Queue-mode “access”;http{Dl-Limit “50”;};};’ >> /etc/apt/apt.conf.d/76download

Comments are closed.