It’s easy. Simply throw “-o Acquire::http::Dl-Limit=X” in your apt-get command where X is the kb/s you wish to limit it to. So for example let’s say that you want to limit an apt-get upgrade command to roughly 50kb/s of bandwidth. Simply issue the following command:
sudo apt-get -o Acquire::http::Dl-Limit=50 upgrade
Simple right?
Leave a Reply