How to Limit Apt-Get Download Speed

10:42 AM

Hello everybody, have a nice weekend! Today I'd like to show you how to limit apt-get download speed. This trick is useful when you're sharing your Internet connection among your friends or family. With this trick, you can perform such apt operation (install or upgrade) without interrupting the other members of your network.


In case, you want to limit your apt-get download speed at 20kb/s, so you should run the following command to perform apt-get operation (install or upgrade):
  • sudo apt-get -o Acquire::http::Dl-Limit=20K install package_name
Please take a look at statement  "Acquire::http::Dl-Limit=20K", replace "20K" with your desired download speed. This trick was tested and worked well on Ubuntu 11.10 Oneiric Ocelot Beta 2, but it should works on other versions of Ubuntu too.

Got questions? Have something in your mind? Please don't be a stranger, just fill in the form :)

0 comments:

Post a Comment