To backup one installed package
dpkg-repack xbmcor all of them at once
dpkg-repack `dpkg --get-selections | grep install | cut -f1`Both these commands will create .deb-packages in the directory you're currently in.
If you want to install one of the packages
dpkg -i package_name.debor all of them at once
dpkg -i *.deb
Very handy.