Faster apt-get on Debian Linux

By | 2013/10/19

There is no need for apt-fast or other wrappers. apt.conf has a feature to enable parallel downloads and make your apt-get work much faster. Here is the tip!

Edit (or create) the apt.conf file:

sudo vim /etc/apt/apt.conf

Add the following line, then save.

Acquire::Queue-Mode "host";

Done! (source)

For more check out the apt.conf man page.

2 thoughts on “Faster apt-get on Debian Linux

  1. Seppo Yli-Olli

    Doesn’t this by documentation that you only ever have one download per host going on so may not in fact speed anything up at all? The other option “access” is pretty horribly documented.

  2. Andrew

    This gets you parallel downloads, but you still only get one download connection per remote host.

    You can add multiple archive mirrors in your config file, and that will speed up package downloads, but it comes at the cost of potentially slowing down updates of the index lists and increasing the traffic associated with those.


Leave a Reply

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.