Limiting the download speed rate of apt-get in Ubuntu 13.04, 12.04 Debian and Linux Mint | UbuntuCafe

Limiting the download speed rate of apt-get in Ubuntu 13.04, 12.04 Debian and Linux Mint

Yes, We can limit the download speed while you trying install applications using apt-get command.


For temporary limits, add the -o flag to your apt-get command:

sudo apt-get -o Acquire::http::Dl-Limit=25 install <package>

For permanent throttling, create the file /etc/apt/apt.conf.d/75lowerspeed and save the following in it:

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

Both methods limits apt-get to 25 kbps.

Post a Comment