Home‎ > ‎Backup‎ > ‎

Download all installed packages on Ubuntu

This will download all installed packages to folder /var/cache/apt/archives

$ dpkg -l | grep "^ii"| awk ' {print $2} ' | xargs sudo apt-get -y install --reinstall --download-only


Credits to http://askubuntu.com/questions/86358/how-to-obtain-installed-package-files