Tuesday, October 6, 2009

Fast Parallel Downloading (for apt-get) #2

This is how to upgrade your Ubuntu system, downloading several packages in parallel. See previous article for details:

cd /var/cache/apt/archives/
apt-get -y --print-uris -u dselect-upgrade >debs.list
egrep -o -e "http://[^\']+" debs.list | xargs -l3 -P5 wget -nv
apt-get -u dselect-upgrade

No comments:

Post a Comment