How To speed up apt-get update command on Debian, Ubuntu , Linux Mint or any other Debian based Linux distributions, read More to know. apt-get update downloads the files to cache at /var/cache/apt/archives .  To speed up download we enable apt-get to update cache files in parallel that is download multiple files simultaneously.  To allow parallel or simultaneous downloads create a file at /etc/apt/apt.conf.d, named. 99parallel

sudo gedit /etc/apt/apt.conf.d/99parallelapt-parellel

In the above created file 99parallel paste the following lines

APT::Acquire::Queue-Mode "access";
APT::Acquire::Retries 3;

Now we can test the speed by executing sudo apt-get update

Now apt opens one connection per server in parallel , this speeds up downloading files to apt cache.
This method we can improve downloading apt cache files without any extra software or script. There are scripts available to speed up apt download like apt-fast script which i will write about in another post.


Please enter your comment!
Please enter your name here