With AptOnCd you can backup and restore your .deb packages and store them in a CD or DVD or just in an ISO image in your USB Drive.
aptoncd, will help you still be able to use apt, aptitude or synaptic even, with no, or poor Internet conection.
All you need is to install one system with all the desired software, using apt-get to install all the software, once installed all the .deb files will be on your
/var/cache/apt/archives/ directory, so you can backup all them up, in a CD or DVD and take it with you for your next installation of your Debian or Ubuntu Linux Operating System.
sudo apt-get install aptoncd
once installed you will find it in your menu (If you are using Gnome)
Click on create CD/DVD
It will explore the
/var/cache/apt/archives/ for your .deb files
and present you with the possible files to add on your CD/DVD
Select where to save the image, and the name of it.
Once finished, you can burn the image, or use it as an ISO image.
Select if you want to restore a CD/DVD, an ISO image or add the CD/DVD as a repository for apt-get, aptitude or Synaptic.
I chose to use the ISO image.
and it restore the .deb files to
/var/cache/apt/archives/ directory, it will as you for the administrative password.