Limit the Bandwidth apt is using

The most straight forward way to limit the bandwidth apt, apt-get, or any gui using apt, is using, is to create the file

/etc/apt/apt.conf.d/76download

and insert the following lines (the bandwith being in kBps):

Acquire
{
Queue-mode "access";
http
{
Dl-Limit "200";
};
};
Not yet rated